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
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…