[Phpwm] unsigning a numeric variable

Keith Pope keith at clevercherry.com
Fri May 5 10:33:27 BST 2006


Would not if($val <= 0) work ?


-----Original Message-----
From: phpwm-bounces at mailman.lug.org.uk
[mailto:phpwm-bounces at mailman.lug.org.uk] On Behalf Of Jon Ramsey
Sent: 05 May 2006 10:24
To: phpwm at mailman.lug.org.uk
Subject: Re: [Phpwm] unsigning a numeric variable

On 5/5/06, Phil Beynon <phil at infolinkelectronics.co.uk> wrote:
> But since these
> are pixel widths for a mogrify resize, as part of a system manager for
> resizing previously uploaded pics that might be needing tweaking a
bit,
> entering a negative pixel value rates as 'bad' and causes execution
> silliness. :-)

What happens with zero?

Cheers,

--
Jon Ramsey

_______________________________________________
Phpwm mailing list
Phpwm at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/phpwm





More information about the Phpwm mailing list