Type:Int: Difference between revisions

From Resonite Wiki
Add better information for someone who never has programmed
m touch
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
A Int Is from 2,147,483,647 to -2,147,483,647 and is a signed 32 bit integer.
An '''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:
[https://en.wikipedia.org/wiki/Integer_(computer_science)] computer science integer, which is resonite's implementation
[https://en.wikipedia.org/wiki/Number] what a number is
[https://math.fandom.com/wiki/Integer] what an integer is in a mathematical/abstract sense


{{Template:IntTypes}}
* [https://en.wikipedia.org/wiki/Integer_(computer_science)] computer science integer, which is resonite's implementation
* [https://en.wikipedia.org/wiki/Number] what a number is
* [https://math.fandom.com/wiki/Integer] what an integer is in a mathematical/abstract sense
 
{{IntTypes}}

Latest revision as of 17:26, 18 April 2025

An 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