Objective-C Mod Command

by Jon Hibbins on 22 August 2008
Filed under: Code, Objective-C, Quick Tips, Software Development, iPhone

If you are looking for the Objective-C Mod Command then look no further

To get the equivalent of a = b div c then :

a = b % c

Leave a Reply