UnitTemperature
A unit of measure for temperature.
Declaration
class UnitTemperatureOverview
You typically use instances of UnitTemperature to represent specific quantities of temperature using the NSMeasurement class.
Temperature
Temperature is a comparative measure of thermal energy. The SI unit for temperature is the kelvin (K), which is defined in terms of the triple point of water. Temperature is also commonly measured by degrees of various scales, including Celsius (°C) and Fahrenheit (°F).
The UnitTemperature class defines its baseUnit() to be kelvin, and provides the following units, which are initialized using UnitConverterLinear converters with the specified coefficients and constants:
Name | Method | Symbol | Coefficient | Constant |
|---|---|---|---|---|
Kelvin | K |
|
| |
Degree Celsius | °C |
|
| |
Degree Fahrenheit | °F |
|
|