Sha256: bcd0d916486d74ee7e8ef1557e4596d9d8f9fbdadf6c2001f66af455597612ff

Contents?: true

Size: 173 Bytes

Versions: 16

Compression:

Stored size: 173 Bytes

Contents

Ember.Handlebars.registerBoundHelper 'number-to-currency', (number, format) ->
  unless typeof format is "string"
    format = '$0,0[.]00'

  numeral(number).format(format)

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dune-dashboard-1.1.5 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.1.4 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.1.3 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.1.2 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.1.1 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.1.0 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.9 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.8 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.7 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.6 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.5 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.4 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.3 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.2 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.1 app/assets/javascripts/helpers/number-to-currency.coffee
dune-dashboard-1.0.0 app/assets/javascripts/helpers/number-to-currency.coffee