[Phpwm] unsigning a numeric variable

Tom Jemmett tom.jemmett at gmail.com
Thu May 4 22:52:26 BST 2006

On 5/4/06, Phil Beynon <phil at infolinkelectronics.co.uk> wrote:
> 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;
$newval = 0 - $startingval;

More information about the Phpwm mailing list