hex (x)

The hex(x) function converts the number x to a hexadecimal representation.

This function returns a value of type Text.

Example

 hex (15)

Result: "f"