Method: Base#to_f

Defined in:
lib/convert_unit/base.rb

#to_fObject



44
45
46
# File 'lib/convert_unit/base.rb', line 44

def to_f
  "#{value.to_f} #{unit}"
end