How to find the magnitude of a variable without sign[SOLVED]
Posted: Sat Oct 08, 2005 6:54 am
Suppose if I have -15 or 15, I should get only 15 the magnitude only.
Is there an in-built function available in PHP?
or
Is there a function to identify the sign of an integer (positive or negative)?
Is there an in-built function available in PHP?
or
Is there a function to identify the sign of an integer (positive or negative)?