Hi All,
Using Crystal syntax, how do you do integer division? That is, dividing two numbers and always getting an integer, without rounding. For example, 9/2 = 4 (not 4.5 or 5); 10/6 = 1 (not 1.67 or 2).
Also, in the same vein, using Crystal syntax, how do you get the remainder of a division? For example 9/2 = 1; 10/6 = 4.
Thanks!
JC
Using Crystal syntax, how do you do integer division? That is, dividing two numbers and always getting an integer, without rounding. For example, 9/2 = 4 (not 4.5 or 5); 10/6 = 1 (not 1.67 or 2).
Also, in the same vein, using Crystal syntax, how do you get the remainder of a division? For example 9/2 = 1; 10/6 = 4.
Thanks!
JC