jQuery plugin for separating parts in string representation of large numbers
Library can be installed via Bower package manager:
bower i jquery.separatorOr you can clone a git repo:
git clone https://github.com/happyCoda/jquery.separator.gitSeparator is a jQuery plugin, so it requires that library installed. Plugin had been developed and tested with jQuery of version 2.0.3, but definitely will work fine with any version above or below.
var bigNum = 10000;
$.separator(bignum) // => will return a string 10 000- 2016-02-07 v0.3.1 A bit of refactor.
- 2016-02-07 v0.3.0 New separation algorithm. Tests added. Docs added. Bower integration.
- 2013-08-05 v0.2.0 Separation algorithm rewritten.
- 2013-08-05 v0.1.0 First release. Demo.