Skip to content

CelsiusToFahrenheit - Built-in Miscellaneous Function

Purpose

Converts a value from Celsius to Fahrenheit (°C to °F).

Syntax

CelsiusToFahrenheit(exp)

Arguments

Argument Required Description
exp Yes Any numeric expression.

Returns

Variant with a real (VT_R8) value

Example

Return CelsiusToFahrenheit(20) + ' °F'
// returns '68 °F'

Notes

  • When exp cannot be converted to a number, a runtime error is generated.
  • The return value conforms to the standards for variant datatypes