Don’t ask why, I just need to figure out a way for a number picture which would clip off zeros.

So 198,80 should become 198,8

If 198,65 it’s left as it is. and 198,00 become 198 of course

Note that my decimal separator is comma, not dot.

So user can enter any integer or decimal number (with max 2 decimal places) but I need to reformat it as above. Entry picture is N-10.`2

Any idea without bunch of IF sentences?

Thanks

Bostjan