SA-MP Forums Archive
Math - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Math (/showthread.php?tid=605424)



Math - ScIrUsna - 19.04.2016

how to check whether the number is divisible by another number or residue remains or not


Re: Math - jamesbond007 - 19.04.2016

if(number % divisible_by==0) // divides nicely with no remainder