ToCelcius, ToFahrenheit, ToKelvin

Description

Convert a temperature to a given temperature scale.

Type

NUMERIC

Arguments

Type

Meaning

1

NUMERIC

the temperature to convert

Evaluation

These functions take as input a numeric value representing a temperature in some scale and return the equivalent value in another scale.

Comments

It is an error to try to convert a value that is not a temperature (i.e., is not in units of degrees Celsius, degrees Fahrenheit, or Kelvin.

 
ToCelcius( 63.23 [F]) = 17.35 [C]
ToFahrenheit( 290.5 [K]) = 63.23 [F]