Decimal Precision DB vs. Runtime

8
Good Morning, is there a way to force the decimal precision in the Database and in the runtime to be equal? In the default Postgresql database it’s 8 digits. In the runtime it’s more (16?). This can lead to validation errors when comparing values. When checking if an object is equal to it’s own database version, it can generate false negatives. I’d like to have the same decimal precision in runtime and in the database. is there a way to set this up?
asked
0 answers