Jquery Globalization reverse algorithm -
Jquery Globalization reverse algorithm -
jquery globalization works great.
you can format currency doing this:
$("#currencyinput").val(globalize.format(100000.25, "c"));
is possible reverse formatting able edit value back? (keeping civilization format)
$("#currencyinput").val(globalize.reverseformat("$100,000.25", "c"));// 100000.25
the globalize plugin provides parseint()
, parsefloat()
methods can use:
$("#currencyinput").val(globalize.parsefloat("$100,000.25", 10, "c"));
jquery jquery-globalization
Comments
Post a Comment