MTemperature

Loaded from
core/util/MTemperature

Public Methods



c2f($value):Number


Converts a Celcius temperature to Fahrenheit.

MTemperature::c2f(5791.48387); 
float(10456.670966)

c2k($value):Number


Converts a Celcius temperature to Kelvin.

MTemperature::c2k(4553.42081); 
float(4826.57081)

f2c($value):Number


Converts a Fahrenheit temperature to Celcius.

MTemperature::f2c(2598.99441); 
float(1426.1080055556)

f2k($value):Number


Converts a Fahrenheit temperature to Kelvin.

MTemperature::f2k(5200.48209); 
float(3144.3789388889)

k2c($value):Number


Converts a Kelvin temperature to Celcius.

MTemperature::k2c(5174.67746); 
float(4901.52746)

k2f($value):Number


Converts a Kelvin temperature to Fahrenheit.

MTemperature::k2f(6327.12704); 
float(10929.428672)