5.0.0 • Published 2 years ago
@precision-nutrition/number-formatting v5.0.0
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.