Class: Float

Inherits:
Object
  • Object
show all
Defined in:
lib/num2words/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#to_currency(*args, **opts) ⇒ Object



18
19
20
# File 'lib/num2words/core_ext.rb', line 18

def to_currency(*args, **opts)
  Num2words::Converter.to_currency(self, *args, **opts)
end

#to_words(*args, **opts) ⇒ Object



14
15
16
# File 'lib/num2words/core_ext.rb', line 14

def to_words(*args, **opts)
  Num2words::Converter.to_words(self, *args, **opts)
end