Karanam's Technology Blog
Sharing my experience
Tuesday, 10 January 2012
javascript decimal point precision
rounding of a decimal value and decimal place of 1
parseFloat(val).toFixed(1);
will give 0.563583 as 0.6.
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment