Skip to content

sgyyz/jquery-formatmoney

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

jquery-formatmoney

Description

So many times the front end need to display the money, and it should be formated which is easy for the user to read it. So this plugin can help you to format the money. Also it support the custom settings.

In this plugin, you not only can format a plain text but also can format an input node. And you don't care about the node type, this plugin can auto detect the type of node and bind the correspond events if the node is an input node.

Usage

$target_node.formatmoney() is the base configuration. It will format by the default options. Also you can add you own settings as you like, such as prefix, thousands symbol, decimal symbol and precision.

More usages and settings, you can visit the demo.html in this repository. Later it will be put on the blog for your reference.

Contact

If you have any idea please put your issue here.

About

This is a jQuery plugin for format the money on page.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published