hextobigint

Returns the platform-independent bigint value equivalent of a hexadecimal string

Syntax

hextobigint(hexadecimal_string)

Parameters

Examples

Usage

Use the hextobigint function for platform-independent conversions of hexadecimal data to integers. hextobigint accepts a valid hexadecimal string, with or without a “0x” prefix, enclosed in quotes, or the name of a character-type column or variable.

hextobigint returns the bigint equivalent of the hexadecimal string. The function always returns the same bigint equivalent for a given hexadecimal string, regardless of the platform on which it is executed.

Related reference
biginttohex
convert
inttohex
hextoint