[VPM] detecting non-integers

Matt Elrod matt at elrod.ca
Mon May 5 19:36:41 CDT 2003


Why not ($foo==int($foo)) to test it or $foo=$int($foo) to force it?

Matt Elrod

}> I have a web CGI that I'm modifying. I want to make it so that you can
}> only input an integer number. So if anyone tries to type 10.44, it is
}> detected by my CGI and refused.



More information about the Victoria-pm mailing list