rhelsing opened this issue 2 years ago · 1 comments
This is the rounding error behavior for Ruby Floats, but using BigDecimal is more accurate:
> require 'bigdecimal' > BigDecimal("0.089") * 105 => 0.9345e1