PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

Jun 18 2019, 5:10 PM PST

An integer is classified as any rational articles/Numbers|number that has no fractional component, for instance:

  • 5
  • 45213
  • 753
  • -4256
  • -842

Integers are used when you need a number with no decimal place or it doesn’t make sense to have a decimal.

In Lua, there is no specific integer value type — number values are double precision floating point (or just double) numbers.

For a Roblox IntValue, the lowest possible value is -231 (-2,147,483,648) and the highest possible is 231 - 1 (2,147,483,647).

Tags:
  • lua
  • value
  • integer