when converting javascript floating point numbers to string format insignificant trailing decimal zeros are lost.
for an example
var num = 20.0;
altert(num);
will give output as 20
how can i stop removing insignificant decimal trailing zeros when formatted as string
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…