Skip to main content

HexToInt

Parses a hexadecimal number back to a number value

Syntax

HexToInt "hex_number"

Returns

number value

Arguments

NameRequiredTypeDescription
hex numberYesAny text e.g. "Hello, World!"

Details

The hex number can start (but doesn't have to) with 0x or #

Possible errors

  • The provided string does not represent a hexadecimal number.

On a running server

Use serhelp HexToInt to inspect the reference generated by your installed SER version.