[Phpwm] unsigning a numeric variable
Phil Beynon
phil at infolinkelectronics.co.uk
Thu May 4 22:27:27 BST 2006
Is there a quicker functional way to unsign a numeric variable, apart from
squaring it then taking the square root of the resultant?
$startingval = -99999999;
echo $startingval . "<br>";
echo sqrt($startingval * $startingval);
Regards,
Phil Beynon
Sales director
** http://www.diygear.com THE Online DIY Toolstore For DIY & Business
** Infolink Electronic Systems Ltd. http://www.infolinkelectronics.co.uk
** Professional Web Design & Cobalt Hosting Solutions
** Contact: Sales at infolinkelectronics.co.uk
** Tel / Fax 0121 458 4894 (office) 0121 441 3558 (home) 07801 548464
(mobile)
More information about the Phpwm
mailing list