Possibility to specify the formatting of a decimal in a template parameter of a text component - Mendix Forum

Possibility to specify the formatting of a decimal in a template parameter of a text component

1

As the titles describes: I want the possibility to specify the formatting of a decimal in a template parameter of a text component

 

This is possible in a microflow, so now I need to create Non-persistent object to handle this scenario, which is unwanted.

 

Below the error of a typical use case when I just want to display a delta (the discount on a price) of two attributes, in a formatted decimal: a price.

 

image.png

asked
2 answers

Yes, but then i'm still missing de dots at the "thousand"

Created

Hi Jitze de Groote,

 

Can you try using this 

formatDecimal(round(($currentobject/OldPrice - $currentobject/NewPrice), 2))

Created