Maybe this will help you https://docs.mendix.com/refguide/to-string
Hi
You can follow the below steps:
Please find below links if it can help:
https://docs.mendix.com/refguide/to-string
https://docs.mendix.com/refguide/string-function-calls
https://docs.mendix.com/refguide/parse-and-format-decimal-function-calls
Converting to a String is locale dependent, so it can vary depending what language you are using. Be careful when using string manipulation.
You could drop into a Java Action where you pass in a Decimal and return a String. Example code to do this and forcing the decimal separator to be ‘:’ would look like this…
// BEGIN USER CODE
DecimalFormatSymbols symbols = new DecimalFormatSymbols();
symbols.setDecimalSeparator(':');
DecimalFormat format = new DecimalFormat("0.00", symbols);
return format.format(this.param1);
// END USER CODE
Hope this helps.
formatDecimal($YourVariety, '#0:0')