Do you know how to fix the following issue with math precision?
p RUBY_VERSION # => \"1.9.1\" p 0.1%1 # => 0.1 p 1.1%1 # => 0.1 p 90.0%1 # => 0.0 p 9
Writing 0.1 into a floating point will always result in rounding errors. If you want 'precise' decimal representation, you should use the Decimal type.
0.1