09-14-2020, 09:53 PM
(This post was last modified: 10-03-2020, 11:30 AM by Qomplainerz.)
We have learned how to divide numbers before, but the results may be unexpected sometimes,
because the result of 4 / 2 will be 2 and the result of 3 / 2 will be 1.5.
In case we always want the result to be a whole number (Integer) we can do the following:
because the result of 4 / 2 will be 2 and the result of 3 / 2 will be 1.5.
In case we always want the result to be a whole number (Integer) we can do the following:
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos