The function hex (x) converts the number x to a hexadecimal representation of x. x should be a number without thousand separators or decimal indicator (no real numbers).
This function returns a value of type Text.
hex ("15")
Result: "f"