# CELSIUS()

Temperature conversion Fahrenheit to Celsius

Syntax

  CELSIUS (nDegreeFahrenheit) --> nDegreeCelsius

Arguments

  <nDegreeFahrenheit> temperature in degree Fahrenheit

Returns

  <nDegreeCelsius> temperate in degree Celsius

Description

  CELSIUS() converts temperature values measured in the Fahrenheit scale to the Celsius scale.

Examples

          // melting point of water in standard conditions
          ? celsius (32.0)       --> 0.0
          // boiling point of water in standard conditions
          ? celsius (212.0)      --> 100.0
    Tests
          celsius (32.0)  == 0.0
          celsius (212.0) == 100.0

Status

  Ready

Compliance

  CELSIUS() is compatible with CT3's CELSIUS().

Platforms

  All

Files

  Source is num1.c, library is libct.

See Also

- FAHRENHEIT()