> -----Original Message-----
> From: Andrew Dickinson [mailto:[EMAIL PROTECTED]
> Sent: Monday, 18 August 2003 4:06 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] IsNumeric limitations ?
> 
> 
> I tried this code just now, and it does the opposite of what one would
> expect.
> 
> <CFIF NOT IsNumeric("Input1")><CFSET Input1 = '0'></CFIF>
> #Input1#

This should be:
 <CFIF NOT IsNumeric("#Input1#")><CFSET Input1 = '0'></CFIF>
or
 <CFIF NOT IsNumeric(Input1)><CFSET Input1 = '0'></CFIF> 

The way you have it you aren't looking at a variable called Input1, you're looking at 
a string containing 'Input1'.

Regards

Darren Tracey

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to