I have a number with a comma, for example: 254,5. I need the 0 behind the ,5 so it stands like 254,50 instead..

I'm using this to get the number:

Math.floor(iAlt / 50) * 50;

How can i get the 0 behind the ,5?

Edit
Report