http://nz.php.net/manual/en/ref.math.php
Hi I've looked at the above site & still cant locate it... Basically, i CAN do it a "long way" - to find the number I want, however I know there is a mathematical command to do it in a single line/command - but i can't remember the word/PHP command... (I know its not square-root).... Problem :- Easy :- i start off with the number 17, & I want to divide it by 5, & find the remander (whole number) example start = 17 Subtract 5 = 12 Subtract 5 = 7 Subtract 5 = 2 So the end result is 2.. (I want to know)... can anyone remember the command name I cant remember - Please :) PS - It will be easy to create a small loop - However I'm going to be working with numbers anywhere from tens (double-digits) to millions.. & a loop on "millions" will take forever... Thank you.. PS - I do not want just the number "5" - i want to enter the any value, eg 3, 86, or 167 (if I want), and it will still do the same function, but give me the result after all the subtractons etc .... -- G NZ community groups - [EMAIL PROTECTED] Freecycle Auckland :- http://groups.yahoo.com/group/AucklandFreecycle/
