Skip to content

1.0.0

Latest
Compare
Choose a tag to compare
@nadnoslen nadnoslen released this 04 Dec 16:59
· 11 commits to master since this release

Three helpers optimized to format numbers according to the website visitor's locale.

  • {{currency-format 1.99}} -> "$1.99"
  • {{decimal-format 1234}} -> "1,234"
  • {{decimal-format 123.456789}} -> "123.457"
  • {{percent-format 0.123}} -> "12%"

DOCS: http://docs.ember-helper-locale-number.cybertooth.io

DEMO: http://docs.ember-helper-locale-number.cybertooth.io/#hbs