Miscellaneous Functions¶
The following miscellaneous functions are available:
| Function | Description |
|---|---|
| CelsiusToFahrenheit | Converts a value from Celsius to Fahrenheit (rh-symbol_start name="Degree" ?°rh-symbol_end ?C to rh-symbol_start name="Degree" ?°rh-symbol_end ?F). |
| FahrenheitToCelsius | Converts a value from Fahrenheit to Celsius (rh-symbol_start name="Degree" ?°rh-symbol_end ?F to rh-symbol_start name="Degree" ?°rh-symbol_end ?C). |
| Hex | Returns a hexadecimal string presentation of an integer. |
| IsDate | Returns a boolean indicating if the expression represents a date value. |
| IsEmpty | Returns a boolean indicating if the expression is empty. The function can be used to determine if a variable is declared variable for which no value has been assigned. |
| IsNull | Returns a boolean indicating if the expression is Null. |
| IsNumeric | Returns a boolean indicating if the expression represents a number. |
| RGB | Returns an integer value representing a RGB color value from a set of red, green and blue color components. |
| TypeName | Returns a string representing the type of the expression. |
| VarType | Returns an integer indicating the type of expression. |
| UnitInch | Converts the number of inches provided in the argument to the unit (TWIPS) used by DataFlex Reports. |
| UnitCm | Converts the number of centimeters provided in the argument to the unit (TWIPS) used by DataFlex Reports. |
| UnitPt | Converts the number of points (1/72 inch) provided in the argument to the unit (TWIPS) used by DataFlex Reports. |