Specify Decimal precision and number of decimals at domain model

9
It would be great if at least the number of decimals would be specified in the domain model entity attribute for a Decimal. And the number of digits before the decimal too, for good measure. I know the page element defaults to two decimals, so this will work in most situations. For attributes which do not have two decimals, specifying this at the entity attribute avoids repeating it everytime, at creation and maintenance. I don't want to create a snippet containing just one Decimal to avoid repeating myself all over my application.
asked
0 answers