117 118 119 120 121 122 123
# File 'lib/fable/value.rb', line 117 def to_s if value % 1 == 0 value.to_i.to_s else value.round(7).to_s end end