r/javahelp • u/macetfromage • Mar 27 '21
Solved 1%2=1?
i dontunderstand the results when the nr to the right is larger
ofc 4%3=1
but why 3%4=3
2
Upvotes
r/javahelp • u/macetfromage • Mar 27 '21
i dontunderstand the results when the nr to the right is larger
ofc 4%3=1
but why 3%4=3
-7
u/macetfromage Mar 27 '21
after googling i got the impression that % removes the decimals but i think its in math