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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -