Quirrel4.41.0

integer

Methods on every integer.

Functions

cloneclone(): anyReturns the integer itself.
constructorconstructor(...): anyConverts value to an integer. This is what runs when types.Integer itself is called, types.Integer(value).
tocharpure (bool|number).tochar(): anyConverts the integer to a one-character string, treating it as a character code.
tofloatpure (bool|number).tofloat(): anyConverts the integer to a float.
tointegerpure (bool|number).tointeger(): anyReturns the integer itself.
tostringpure tostring(): anyConverts the integer to its decimal string form.
weakrefweakref(): anyReturns the integer itself.