A unit of measure for concentration of mass.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Foundation
Declaration
class UnitConcentrationMass : Dimension
Overview
You typically use instances of NSUnit
to represent specific quantities of concentration using the NSMeasurement
class.
Concentration of Mass
Concentration is the abundance of a constituent within a volume. Concentration can be expressed by SI derived units in terms of kilograms per cubic meter (kg/m3).
The NSUnit
class defines its base unit as grams
, and provides the following units, which are initialized using Unit
converters with the specified coefficients:
Name | Method | Symbol | Coefficient |
---|---|---|---|
Grams Per Liter | g/L |
| |
Milligrams Per Deciliter | mg/dL |
| |
Millimoles Per Liter | mmol/L |
|