Depends on what you mean by this. If you are looking for a test of
whether it is an integer versus a real number with non-zero digits after
the decimal point, then you can use this:
<CFIF Variables.MyVar = Int (Variables.MyVar>
<!--- Variables.MyVar is an integer. --->
<CFELSE>
<!--- Variables.MyVar is NOT an integer. --->
</CFIF>
HTH,
Matthieu
-----Original Message-----
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: Friday, January 13, 2006 9:01 AM
To: CF-Talk
Subject: Decimal
Hi guys,
Is there any way to check whether my variable is in fact a decimal?
Thanks,
Saturday
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229508
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54