Common functions to work with and convert metric and imperial temperatures. More...
Namespaces | |
Lox | |
Common methods and functionality easily shared between projects. | |
Lox::Temperature | |
Common functions to work with and convert metric and imperial temperatures. | |
Functions | |
std::string | Lox::Temperature::celsiusString (const CELSIUS c) |
Format the given temperature as a string (Celsius). More... | |
std::string | Lox::Temperature::fahrenheitString (const FAHRENHEIT f) |
Format the given temperature as a string (Fahrenheit). More... | |
static CELSIUS | Lox::Temperature::toCelsius (const FAHRENHEIT f) |
Convert the given value from Fahrenheit to a Celsius value. E.g., 32.0 F (freezing) converts to zero C. More... | |
static FAHRENHEIT | Lox::Temperature::toFahrenheit (const CELSIUS c) |
Convert the given value from Celsius to a Fahrenheit value. E.g., zero C (freezing) converts to 32.0 F. More... | |
Common functions to work with and convert metric and imperial temperatures.