Sha256: 3cef4c50dfd2f00a2e3dc919166ff57480dca5655b7a13ecbfdfc967d579907c
Contents?: true
Size: 581 Bytes
Versions: 17
Compression:
Stored size: 581 Bytes
Contents
//= require_tree . accounting.settings = currency: symbol : "€" # default currency symbol is '$' format: "%v%s" # controls output: %s = symbol, %v = value/number (can be object: see below) decimal : "," # decimal point separator thousand: "." # thousands separator precision : 2 # decimal places number: precision : 2 # default precision on numbers is 0 thousand: "." decimal : "," window.display_euros = (amount, target) -> if isNaN amount target.text('Saisie invalide') else target.text(accounting.formatMoney(amount))
Version data entries
17 entries across 17 versions & 1 rubygems