@precision-nutrition/number-formatting

v5.0.0
A small collection of utilities that help with formatting numbers nicely
ember-addon

number-formatting Build Status

==============================================================================

{{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/number-formatting

Metadata

  • MIT
  • 10.* || >= 12
  • Unknown
  • released 1/14/2022

Downloads