Hello,
I hope I am posting this in the right area, if not then please direct me to the correct area.
I just started learning Objective C and I can't seem to find a good explanation of the % Modulus Operator.
Here's an example.
a = 2
b = 3
c = a % b
Answer is c = 2.
I don't understand the mathimatical equation that the modulus operator represents. I apologize for the newbie question.
Thank you in advance!
Spark
I hope I am posting this in the right area, if not then please direct me to the correct area.
I just started learning Objective C and I can't seem to find a good explanation of the % Modulus Operator.
Here's an example.
a = 2
b = 3
c = a % b
Answer is c = 2.
I don't understand the mathimatical equation that the modulus operator represents. I apologize for the newbie question.
Thank you in advance!
Spark