If you want to &quot;get rid of that baloney,&quot; I think what you want is <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Decimal64_floating-point_format" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Decimal64_floating-point_forma...</a><p>Rational arithmetic has some upsides also, but it also has some downsides.