[Phpwm] unsigning a numeric variable

David Goodwin david at codepoets.co.uk
Fri May 5 07:08:06 BST 2006


> $startingval = -99999999;
> $newval = 0 - $startingval;
> 
$startingval = 99;
$newval = 0 - 99; // -99.

David.


-- 
David Goodwin

[ david at codepoets dot co dot uk ]
[ http://www.codepoets.co.uk       ]



More information about the Phpwm mailing list