There is an option to change the rounding of a number in the system settings but this is a system wide setting.
https://docs.mendix.com/refguide5/Project+Settings
You could offcourse use a event handler (before commit event for instance) to call a microflow that does the rounding for you.
Regards,
Ronald