currency.js icon indicating copy to clipboard operation
currency.js copied to clipboard

Please add to the Usage in the README

Open cwellsx opened this issue 1 year ago • 1 comments

May I suggest you add the following to the README (because I had to look beyond the README to discover this):

  • There are intValue and value properties
  • You can construct with negative numbers, and negative strings like "-1" or "(1)"
  • You can compare as described here
  • Using TypeScript can import using import currency from 'currency.js';
  • TypeScript type definitions are already included in the package

cwellsx avatar Mar 25 '23 08:03 cwellsx

@scurker Can I do a PR to update the README with the above suggestions? I think they are quite useful.

chewhx-dev avatar Jan 22 '24 07:01 chewhx-dev