You could define a default float with a certain number of decimal places?

When defining the network you can set a fixed number of decimals for all numbers that are of float type, for example: defining my field with 4 decimals by default if the user enters 20.1 the database would store 20.1000.

Dgraph version: 21.12.0

I do not believe this is possible. It would require adding a new float type to the Dgraph core code.