UnitMass
A unit of measure for mass.
Declaration
class UnitMassOverview
You typically use instances of UnitMass to represent specific quantities of mass using the NSMeasurement class.
Mass
Mass is a fundamental property of matter that causes it to resist a force accelerating it. The SI unit for mass is the kilogram (kg), which defined in terms of the mass of the international prototype kilogram.
The UnitMass class defines its baseUnit() as kilograms, and provides the following units, which UnitConverterLinear converters initialize with the given coefficients:
Name | Method | Symbol | Coefficient |
|---|---|---|---|
Kilograms | kg |
| |
Grams | g |
| |
Decigrams | dg |
| |
Centigrams | cg |
| |
Milligrams | mg |
| |
Micrograms | µg |
| |
Nanograms | ng |
| |
Picograms | pg |
| |
Ounces | oz |
| |
Pounds | lb |
| |
Stones | st |
| |
Metric Tons | t |
| |
Short Tons | ton |
| |
Carats | ct |
| |
Ounces Troy | oz t |
| |
Slugs | slug |
|
Topics
Accessing the Base Unit
Accessing Predefined Units
kilogramsgramsdecigramscentigramsmilligramsmicrogramsnanogramspicogramsouncespoundspoundsstonesmetricTonsshortTonscaratsouncesTroyslugs