kaven-basic - v6.0.0
    Preparing search index...

    Function ToUInt32

    • Converts a given number to an unsigned 32-bit integer.

      This function performs an addition modulo 2^32, effectively truncating the input to fit within the range of a 32-bit unsigned integer (0 to 4,294,967,295). If the input is negative or exceeds 32 bits, the result wraps around accordingly.

      Parameters

      • n: number

        The number to convert.

      Returns number

      The unsigned 32-bit integer representation of the input.

      4.0.0

      2021-12-14