Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/abstractive/additions.rb

Instance Method Summary collapse

Instance Method Details

#to_fObject



2
3
4
# File 'lib/abstractive/additions.rb', line 2

def to_f
  ('%.10f' % self).to_f
end