Unit Domain Mass
From imde.io
Revision as of 11:21, 13 October 2022 by HansdG (talk | contribs) (Created page with "===Unit Domain: Mass=== The amount or quantity of heaviness or mass; amount a thing weighs. The default unit for weight is grams. ===Alternative units of measure=== {| class="wikitable" |+ Units of Measure |- ! Mass Unit Full !! Symbol English !! UoM Code !! Numerator !! Denominator !! DefaultUoM !! |- | Microgram|| μg || Ug || 1 || 1.000.000 || gr |- | Milligram || mg || Mg || 1 || 1.000 || gr |- | Gram || gr || Gr || 1 || 1 || gr |- | Kilogram || kg || Kg || 1.000...")
Unit Domain: Mass
The amount or quantity of heaviness or mass; amount a thing weighs. The default unit for weight is grams.
Alternative units of measure
Mass Unit Full | Symbol English | UoM Code | Numerator | Denominator | DefaultUoM | |
---|---|---|---|---|---|---|
Microgram | μg | Ug | 1 | 1.000.000 | gr | |
Milligram | mg | Mg | 1 | 1.000 | gr | |
Gram | gr | Gr | 1 | 1 | gr | |
Kilogram | kg | Kg | 1.000 | 1 | gr | |
Tonne | t | To | 1.000.000 | 1 | gr | |
Ounce | oz | Oz | 2.834.952 | 100.000 | gr | |
Pounds | lb | Lb | 10.000.000 | 22.046 | gr |
The formula to convert one Mass UoM to another is:
SourceValue * (SourceNumerator / SourceDenominator) * (TargetDenominator/TargetNumerator)
Example: Ounce to Milligram
1 Ounce * (2834952/100000) * (1000 / 1) = 28349,52 Milligram