0

What is the result of dividing integers?

In example, what is the output of 3/2? Or 3/4*2?

29th Nov 2016, 6:34 PM
Rodney
Rodney - avatar
1 Answer
+ 4
the result is floor of(3/2) means floor of(1.5)=1 in other word you can delete decimal part(numbers after point ) and just return int part(numbers before point)
29th Nov 2016, 6:48 PM
Saeed
Saeed - avatar