dunno if it's the -best- way...but would this work?

<cfif reFind('[^0-9]', myNumber)>
     number is not an integer
<cfelse>
     number is an integer
</cfif>

----- Original Message -----
From: "Tangorre, Michael" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, April 01, 2004 12:35 PM
Subject: Checking for a number

> What is the best way to check that a value is an integer?
>
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to