changing interger with percent sign
#2

4 % 2 = 0
5 % 2 = 1
19 % 2 = 1

It returns the value that remains after division (19%2; 18 + [1]; [x] => you get returned that X value)

- Just search for Modulo in any search engine; you will find some interesting stuff:

Код:
(in number theory) with respect to or using a modulus of a specified number. Two numbers are congruent modulo a given number if they give the same remainder when divided by that number.
Reply


Messages In This Thread
changing interger with percent sign - by eSPeZet - 08.02.2018, 21:22
Re: changing interger with percent sign - by Private200 - 08.02.2018, 21:35
Re: changing interger with percent sign - by eSPeZet - 08.02.2018, 21:40
Re: changing interger with percent sign - by AmigaBlizzard - 09.02.2018, 10:55

Forum Jump:


Users browsing this thread: 1 Guest(s)