User:ENET/StepByStep/IntegersNumbers: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>ENET
Created page with "<center><h3><u>Integers/Numbers</u></h3></center><br><br> <b>Summary</b>: <i>An integer/number is a value consisting of numbers. IE 1.3, 500, 88, 0.33</i> <br><br> <b><u>Integ..."
 
m Text replacement - "</code>" to "</SyntaxHighlight>"
Line 15: Line 15:
hi=3.33;
hi=3.33;
bob=4;
bob=4;
</code>
</SyntaxHighlight>
<br>
<br>
In that example, x equals 25, hi equals 3.33, and bob equals 4.
In that example, x equals 25, hi equals 3.33, and bob equals 4.

Revision as of 03:43, 27 April 2023

Integers/Numbers



Summary: An integer/number is a value consisting of numbers. IE 1.3, 500, 88, 0.33

Integer
An integer is a number without a decimal. This includes: 3, 4, 5, 0, -55, -199, 88

Number
A number is any number. Decimal or Integer. IE 0, 1, 1.3, 1.5; you can easily say a number is an integer, but a integer is not a number.



Declaration
Declaring a number is as simple as writing the x value of an equation(in algebra).
x=25; hi=3.33; bob=4; </SyntaxHighlight>
In that example, x equals 25, hi equals 3.33, and bob equals 4.