QP School

Full Version: Basic-256 Integer divisions with values
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:

[attachment=29]