Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add to the Usage in the README #440

Open
cwellsx opened this issue Mar 25, 2023 · 1 comment
Open

Please add to the Usage in the README #440

cwellsx opened this issue Mar 25, 2023 · 1 comment

Comments

@cwellsx
Copy link

cwellsx commented Mar 25, 2023

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
@chewhx-dev
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants