Parse a float number to a string with x decimals

/ Published in: JavaScript
Save to your folder(s)

converts a number "v" to a float number and formats the string it with "d" decimals, used on input type text onblur="parseFloatString(this.value,2);"


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.