Use NumberFormat() or compare them as numbers, not text.

Steve

-----Original Message-----
From: David Baskin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 4:56 PM
To: CF-Talk
Subject: 1s and 01s


Hello, i'm passing a number from a form and then comparing it with a number
pulled out of the DB (SQL server) but when i do the comparison it's against
1 (passed by the form) and 01 (passed by SQL). Can anyone tell me how to
format the number coming from the form and CF to pass or be written as 01?
Thanks.

d
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to