You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alvin Cheng edited this page Feb 12, 2023
·
1 revision
Description
This is the round command, this command will round the number in the first argument to the nearest whole number. In other words, it will turn a floating point number into a while integer number and return it to the variable in parameter 2. Here is a working example if you don't understand me.
Rounding numbers
Some numbers can have floating point places. To make it we can just round it by checking if a number's floating point is > .5 than down and vice versa. More in-depth information can be found here.