Density on lbs/gal

description

The density calculation on lbs/gal is off by a significant amount. Line 89 of Source\Units\Quantities\Density.cs needs updated from 99.7763287677 to 119.826427, plus whatever the rest of the digits are for 10 decimal accuracy.

file attachments

No files are attached

Closed
by

comments

Currently it is defined as the imperial lbs/gal. But I see there is an inconsistency since gallon is defined as US fluid. This raises an important question, which units should be defined in the default unit system - the imperial, US fluid or US dry? Only
one lbs/gal can be selected by the parser (I think it is the first one). From the code side, it should be no problem to have more lbs/gal definitions.

which should make the imperial units default. Or we could change the order to make US fluid units default.
To change the default units for your application, you need to register the units you want with a
UnitProvider.