Displaying 1 result from an estimated 1 matches for "number_to_square_meter".
2010 Apr 26
0
add a new format to locales
...precision: 2
separator: '',''
delimiter: ''.''
after that i''ve copied the number_to_currency method to the
application_controller.rb to get maximum comfort :)
but i get the default view of numbers, so it doesnt find my new yml
section
def number_to_square_meter(number, options = {})
options.symbolize_keys!
defaults = I18n.translate(''number.format''''number.format'', :locale
=> options[:locale], :raise => true) rescue {}
currency =
I18n.translate(''number.square_meter.format''''n...