jquery-format icon indicating copy to clipboard operation
jquery-format copied to clipboard

jQuery Format - Simplified dates and numbers

Results 8 jquery-format issues
Sort by recently updated
recently updated
newest added

I'm having problems with rounding. Example: $.format.number(247.94999, '#,###.0'); Expected: 248 Result: 247

Hi, Packaged as an npm module, added necessary files. https://www.npmjs.com/package/jquery-format

Hi. I'm getting some differences in expected value an resulting value. Tried ``` $.format.number(123456789.36, '#,##0.00') returns: "123,456,789.36" ``` and works as expected returning a "123,456,789.36" Tried ``` $.format.number(123412365456789.36, '#,##0.00') returns:...

Added support for ordinal suffixes (i.e. 1st, 2nd, 3rd, ...) on days of the month by specifying 'o' or 'O' in the format.

Adding prefix for Locale configuration to allow format currency.

Hello Rostislav, Thank you for the nice library. I have found it very useful. I added $.format.bool function which returns "Yes" or "No". It might be useful the others. Please...