Hex function (LotusScript® Language)
Return the hexadecimal representation of a number as a string.
Syntax
Hex[$] ( numExpr )
Elements
numExpr
Any numeric expression. If numExpr evaluates to a number with a fractional part, LotusScript® rounds it to the nearest integer before deriving its hexadecimal representation.
Return value
Hex returns a Variant of DataType 8 (String), and Hex$ returns a String.
Return values will only include the characters 0 - 9 and A - F, inclusive. The maximum length of the return value is eight characters.
Usage
If the data type of numExpr is not Integer or Long, LotusScript® attempts to convert it to a Long. If it cannot be converted, an error occurs.