[thelist] javascript comparison

Tom Dell'Aringa pixelmech at yahoo.com
Wed Oct 29 12:58:51 CST 2003

--- Rob Smith <rob.smith at THERMON.com> wrote:
> Hi,
> My javascript test is testing supposedly numerical values as
> strings, when they should be compared by actual value.

Rob, are you *100%* sure of your input values before comparison? I
would use alert() and make sure first, I've never had a need to cast


http://www.pixelmech.com/ :: Web Development Services
http://www.DMXzone.com/ :: JavaScript Author / Every Friday!
http://www.thywordistruth.net/ :: Eternal Life

"I'll ho ho and ha ha you!" (Daffy Duck)

More information about the thelist mailing list