ember-cli-accounting icon indicating copy to clipboard operation
ember-cli-accounting copied to clipboard

Ember CLI addon for using accounting.js

Results 17 ember-cli-accounting issues
Sort by recently updated
recently updated
newest added

Add a option to remove trailing decimals if they are zeros This way we could just have the base number without lose the precision, like: -> 5,00001 would be: 5....

Add support for specifying precision as minPrecision and maxPrecision

Is something like this possible? ```{{ input value=(format-number someModel.someProperty precision=2) }}```

Ok, unless I am misunderstanding, I would think I could pass in USD and it would return me the symbol. But its not ``` formatMoney(this.get('model.service.price.priceRange.min'), { symbol: this.get('model.service.price.currency'), precision: 2,...

Use in integration tests breaks w/ an initializer. Do I have to manually register like `this.registry.register('helper:format-money', formatMoney);` or do we have another option? Failing here: ``` // our setup import...

I do this before usage of accounting.formatNumber(): ``` accounting.settings.number = { grouping: 3, thousand: ',', decimal: '.', precision: 4 },; ``` but it doesn't affect the result. I think issue...

I get the above error when I try to use `format-money model.unpaid symbol='$'` in a template the relevant code from the browser: ``` define('accounting/helpers/format-money', ['exports', 'accounting/format-money', 'ember'], function (exports, formatMoney,...