Force decimal numbers to apear

Force decimal numbers to apear

  

Hi everyone!


I need to show decimal numbers, even when they're zeros (p.e. "120.00") but the widget just show decimals if they're not zero.

How can I force that?


Thank's for the help!


Best regards,

Ricardo

Solution

Hi Ricardo,

There is an inbuilt function in Outsystem called FormatDecimal()by using that you can display the trailing zero's as well. Hope this helps.

Regards,

Manish Jawla

Solution

Hi Manish,


Thank you for the help! In this case that doesn´t work because I want to do this in the Form (where I insert the values) and I don´t have place to put the function.

Regards,


Ricardo

Hi Ricardo,


I know this is old but were you ever able to find a solution to this problem?

Hi Brit'ne!


I used Manish solution! (I forgot to mark as solution!).


Try that if you need! ;)


Best regards,

Ricardo