Class: LocalizationSimplified::NumberHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/framework/rholang/lang_en.rb,
lib/framework/rholang/lang_es.rb,
lib/extensions/rholang/rholang/lang_ca.rb,
lib/extensions/rholang/rholang/lang_cf.rb,
lib/extensions/rholang/rholang/lang_cs.rb,
lib/extensions/rholang/rholang/lang_da.rb,
lib/extensions/rholang/rholang/lang_de.rb,
lib/extensions/rholang/rholang/lang_es.rb,
lib/extensions/rholang/rholang/lang_fi.rb,
lib/extensions/rholang/rholang/lang_fr.rb,
lib/extensions/rholang/rholang/lang_it.rb,
lib/extensions/rholang/rholang/lang_ko.rb,
lib/extensions/rholang/rholang/lang_nl.rb,
lib/extensions/rholang/rholang/lang_no.rb,
lib/extensions/rholang/rholang/lang_pt.rb,
lib/extensions/rholang/rholang/lang_ru.rb,
lib/extensions/rholang/rholang/lang_se.rb,
lib/extensions/rholang/rholang/lang_sr.rb,
lib/extensions/rholang/rholang/lang_chef.rb,
lib/extensions/rholang/rholang/lang_es_ar.rb,
lib/extensions/rholang/rholang/lang_pt_br.rb,
lib/framework/autocomplete/LocalizationSimplified.rb

Constant Summary collapse

CurrencyOptions =

CurrencyOptions are used as default for Number#to_currency() api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html#M000449

{
  :unit      => "R$",
  :separator => ".",             #unit separator (between integer part and fraction part)
  :delimiter => ",",             #delimiter between each group of thousands. Example: 1.234.567 
  :order     => [:unit, :number] #order is at present unsupported in Rails
}