Thursday, 8 August 2013

How to parse string 2.00 completely?

How to parse string 2.00 completely?

var i = 2.00;
alert(i.toString());
// Why this always result 2 . i want the character behind point
So, how to do that? i want 2.00 result "2.00" , not only "2"
Thank you for answering

No comments:

Post a Comment