Class

NSUnitConcentrationMass

A unit of measure for concentration of mass.

Declaration

@interface NSUnitConcentrationMass : NSDimension

Overview

You typically use instances of NSUnitConcentrationMass 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 NSUnitConcentrationMass class defines its base unit as gramsPerLiter, and provides the following units, which are initialized using NSUnitConverterLinear converters with the specified coefficients:

Name

Method

Symbol

Coefficient

Grams Per Liter

gramsPerLiter

g/L

1

Milligrams Per Deciliter

milligramsPerDeciliter

mg/dL

0.01

Millimoles Per Liter

millimolesPerLiterWithGramsPerMole:

mmol/L

18 * gramsPerMole

Topics

Accessing the Base Unit

+ baseUnit

Returns the base unit of concentration of mass. Equal to gramsPerLiter.

Accessing Predefined Units

gramsPerLiter

Returns the grams per liter unit of concentration.

milligramsPerDeciliter

Returns the milligrams per deciliter unit of concentration.

+ millimolesPerLiterWithGramsPerMole:

Returns the millmoles per liter unit with the specified number of grams per mole.

Relationships

Inherits From

Conforms To

See Also

Concentration and Dispersion

NSUnitDispersion

A unit of measure for an amount-of-substance fraction.