uint64
Convert to unsigned 64-bit integer.
Syntax
Section titled “Syntax”S = uint64(X)Description
Section titled “Description”Returns X converted to uint64 (range 0 to ~1.84 × 10¹⁹). Values outside the range are saturated.
Example
Section titled “Example”uint64(2^63) % 9223372036854775808