@precision-nutrition/number-formatting
v4.0.0 ember-addon
number-formatting
==============================================================================
{{pretty-percentage decimalValue=0.751 precision=1}}
yields "75.1%"
{{pretty-percentage decimalValue=0.751 precision=0}}
yields "75%"
{{format-currency value=123}}
yields "$1.23 (USD)"
Compatibility
- Ember.js v3.16 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
Installation
ember install @precision-nutrition/number-formatting
Usage
[Longer description of how to use the addon in apps.]
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.
npm i @precision-nutrition/[email protected]
Metadata
- MIT
- 10.* || >= 12
- Unknown
- released 4/1/2020