[Phpwm] unsigning a numeric variable

Paul at Black Hill paul at blackhillcomputersoftware.co.uk
Fri May 5 10:26:47 BST 2006


Hello
 
I'm a newcomer to the site so please forgive me if I post messages
incorrectly (and please tell me how to do it properly!)
 
Am I missing something obvious, or can you simply use the abs() function to
obtain the absolute value of the number? This could be combined with the
function is_numeric() to do the validation on user input that you need.
 
I hope this helps
 
Regards
Paul
Black Hill Computer Software
01981 510 180
www.blackhillcomputersoftware.co.uk

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.4/332 - Release Date: 04/05/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/phpwm/attachments/20060505/5dc3e5b1/attachment-0001.html


More information about the Phpwm mailing list