Skip to content
Cloudflare Docs

Type conversion functions

toUInt8 New

Usage:

toUInt8(<expression>)

Converts any numeric expression, or expression resulting in a string representation of a decimal, into an unsigned 8 bit integer.

Behaviour for negative numbers is undefined.

toUInt32

Usage:

toUInt32(<expression>)

Converts any numeric expression, or expression resulting in a string representation of a decimal, into an unsigned 32 bit integer.

Behaviour for negative numbers is undefined.