Type:Int: Difference between revisions

From Resonite Wiki
fix links
fixed
 
Line 1: Line 1:
A Int Is from 2,147,483,647 to -2,147,483,647 and is a signed 32 bit integer.
A Int Is from 2,147,483,647 to -2,147,483,647 and is a signed 32 bit integer.


An integer is number with a decimal, also known as a whole number. Trying to put a number in like 20.34 will just delete the decimal part, making it store 20. It will always remove the decimal part and return the whole number part when storing a number, no matter how big or small the decimal is.
An integer is number without a decimal, also known as a whole number. Trying to put a number in like 20.34 will just delete the decimal part, making it store 20. It will always remove the decimal part and return the whole number part when storing a number, no matter how big or small the decimal is.


Links to more in depth explanation beyond the scope of this wiki:
Links to more in depth explanation beyond the scope of this wiki:

Latest revision as of 22:03, 24 February 2024

A Int Is from 2,147,483,647 to -2,147,483,647 and is a signed 32 bit integer.

An integer is number without a decimal, also known as a whole number. Trying to put a number in like 20.34 will just delete the decimal part, making it store 20. It will always remove the decimal part and return the whole number part when storing a number, no matter how big or small the decimal is.

Links to more in depth explanation beyond the scope of this wiki:

  • [1] computer science integer, which is resonite's implementation
  • [2] what a number is
  • [3] what an integer is in a mathematical/abstract sense

Related Types