Advertisement
Guest User

Untitled

a guest
Sep 19th, 2013
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement