Class: Merb::Global::NumericProviders::Java

Inherits:
Object
  • Object
show all
Includes:
DateProviders::Base
Defined in:
lib/merb_global/numeric_providers/java.rb

Instance Method Summary collapse

Instance Method Details

#localize(locale, number) ⇒ Object



9
10
11
# File 'lib/merb_global/numeric_providers/java.rb', line 9

def localize(locale, number)
  java.text.NumberFormat.instance(locale).format(number)
end