Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 404 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 404 Bytes

cashFormat.js

jQuery plugin to format the input data as a currency

Usage

Initialization

$(selector).cashFormat([options]);

Methods

getValue - get the input value

$(selector).cashFormat('getValue');

Options

separator - a separator between an integer and fractional parts. . (defalt) or ,.

$(selector).cashFormat({separator: ','});