/ Published in: JavaScript
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);"
URL: http://www.barattalo.it/2009/11/09/parse-a-float-number-in-javascript/