Incorrect conversion.

Issue #934 duplicate
Former user created an issue

I'm using SpeedCrunch 0.12 (Qt 5.6.2),

SpeedCrunch lists 1 meter^3 as being 264.20079260237780713342 gallon_US, but this is incorrect. According to Excel's convert function, it should be 264.172052358148. See also:

http://www.kylesconverter.com/volume/cubic-meters-to-gallons-(u.s.-fluid)

https://www.ninjaunits.com/converters/water-weight/cubic-meters/cubic-meters-us-gallons/

https://www.google.com/search?client=firefox-b-d&q=cubic+meters+to+US+gallons

I know this seems like a small thing, but when it's a sensitive variable, it causes a miscalculation. What is the cause of the difference in numbers?

Comments (2)

  1. Tey'

    Current definition of US_gallon in speedcrunch is US_gallon = 3.785 liter which seems a bit short. I'm not sure what the official definition is, but Wikipedia gives US_gallon = 231 inch**3 = 3.785411784 liter, so maybe we should use it instead. @Pol Welter any though about it?

  2. Log in to comment