SHARE
TWEET

Untitled

a guest Sep 19th, 2013 25 Never
  1. Your balance: $ 100 000.00
  2.               € 70 000.00
  3.               3 000 000,00 руб.
  4.        
  5. number_to_currency(70000.00, :unit => "€", :separator => ".", :delimiter => " ", :format => "%u %n")
  6.        
  7. defaults  = I18n.translate('number.format''number.format', :locale => options[:locale], :raise => true) rescue {}
  8. currency  = I18n.translate('number.currency.format''number.currency.format', :locale => options[:locale], :raise => true) rescue {}
  9.        
  10. number_to_currency(70000.00, :locale => :ru)
RAW Paste Data
Top