0

16/5 isn't 3

I don't know how you get this?

20th Jan 2017, 1:04 PM
Paul Productions
Paul Productions - avatar
5 odpowiedzi
+ 8
use float or double
20th Jan 2017, 1:17 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
/ - is operator that gives you integer part % - gives you reminder 16 / 5 = 3 + (1/5) 16 / 5 = 3 16 % 5 = 1 3 is integer part 1 is reminder
20th Jan 2017, 10:34 PM
Adam Emieljaniuk
Adam Emieljaniuk - avatar
+ 1
thank you
20th Jan 2017, 1:17 PM
Paul Productions
Paul Productions - avatar
0
DGHSERT4N
6th Feb 2017, 4:48 PM
Elene Pilpani (LMS)
Elene Pilpani (LMS) - avatar
0
[//Write.tell//Any remainder is dropped off to return a integer value.]
26th Apr 2017, 10:25 AM
mei
mei - avatar