@precision-nutrition/number-formatting

5.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @precision-nutrition/number-formatting

Weekly Downloads

0

Version

5.0.0

License

MIT

Unpacked Size

6.66 kB

Total Files

14

Last publish

Collaborators

  • hasitha-pn
  • lauragonzalezz
  • trianglegrrl
  • pnfinance
  • pn-bot
  • elucid
  • jonhunt-pn
  • christophermilne
  • vpuzzella
  • ivanvotti
  • miguelverissimo
  • pn-ips