1

I'm trying to print currency values like € 10,60, but I get € 10,6. The last zero/zeroes will not be printed. How will I get a correct result? Piet

asked

Piet Borst

2 answers

4

You can use the formatDecimal to turn the decimal value into a string, with this function you can also decide how to format the decimal like so: formatDecimal(1234.50, '#.###,##') will result in 1.234,50

answered

Jelle van Vliet

1

Jelle,

thanks for your answer. I found another one: ' € ###,##0.00' and this one gives (also) the correct result

answered

Piet Borst