Returns a hexadecimal string from an integer number
Class: String
Parameters: d – An integer number
Syntax: $returnString=hex(d)
Returns: A string representing a hexadecimal number
Remarks: None
Example:
//Example for the string $hex method
d=10 //Set value
$result=hex(d) //Calculate result (= ‘A’)
message(“Hexadecimal value of “ + d + “ is “ + $result) //Display results message
See Also: hex