New course! Every coder should learn Generative AI!
Try a free lesson0
if you divide two integer values, you'll be given a integer returned (Integer division is performed). So, 2 fits into 5 only 2 times. So 5/2=2
The decimal point is essentially not included.