Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

This sucks! You probably don't want to use it.

License

Notifications You must be signed in to change notification settings

PrecisionNutrition/number-formatting

Repository files navigation

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.