1.0.0 • Published 8 years ago

ember-money v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

ember-money

Build Status Latest version

Money value type for Ember

This addon helps you implement the "Money" concept in your application.

money('1.234') == '1.23'
money(0.009) == '0.00'
money(1.009) == '1.00'
money(1).sum(money(0.02)) == '1.02'
money(0.001).sum(money(0.009)) == '0.00'
money(1.001).sum(money(1.009)) == '2.00'

Installation

ember install ember-money

Development

Installation

$ git clone https://github.com/san650/ember-money.git
$ cd $_
$ npm install
$ bower install

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Project's health

Build Status

License

ember-money is licensed under the MIT license.

See LICENSE for the full license text.