TemperatureCreation extension

Provides convenient factory methods for creating Temperature instances from num.

on

Properties

celsius Temperature

Available on num, provided by the TemperatureCreation extension

Creates a Temperature instance representing this numerical value in Celsius (°C).
no setter
fahrenheit Temperature

Available on num, provided by the TemperatureCreation extension

Creates a Temperature instance representing this numerical value in Fahrenheit (°F).
no setter
kelvin Temperature

Available on num, provided by the TemperatureCreation extension

Creates a Temperature instance representing this numerical value in Kelvin (K).
no setter
rankine Temperature

Available on num, provided by the TemperatureCreation extension

Creates a Temperature instance representing this numerical value in Rankine (°R).
no setter