FAHRENHEIT()

Temperature conversion Celsius to Fahrenheit

Syntax

FAHRENHEIT (nDegreeCelsius) --> nDegreeFahrenheit

Arguments

<nDegreeCelsius> temperate in degree Celsius

Returns

<nDegreeFahrenheit> temperature in degree Fahrenheit

Description

FAHRENHEIT() converts temperature values measured in the Celsius scale to the Fahrenheit scale.
Examples
      // melting point of water in standard conditions
      ? fahrenheit (0.0)       --> 32.0
      // boiling point of water in standard conditions
      ? fahrenheit (100.0)      --> 212.0
Tests
      fahrenheit (0.0) == 32.0
      celsius (100.0) == 212.0
Status

Ready

Compliance

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

Platforms

All

Files

Source is num1.c, library is libct.

See Also