Documentation ¶
Overview ¶
Package tempconv performs Celsius and Fahrenheit conversion.
Index ¶
Constants ¶
View Source
const ( AbsoluteZeroC Celsius = -273.15 FreezingC Celsius = 0 BoilingC Celsius = 100 AbsoluteZeroK Kelvin = 0 FreezingK Kelvin = 273.15 BoilingK Kelvin = 373.15 AbsoluteZeroF Fahrenheit = -459.66999999999996 FreezingF Fahrenheit = 32 BoilingF Fahrenheit = 212 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fahrenheit ¶
type Fahrenheit float64
func KToF ¶
func KToF(k Kelvin) Fahrenheit
func (Fahrenheit) String ¶
func (f Fahrenheit) String() string
Click to show internal directories.
Click to hide internal directories.