This function will solve your problem:  JavaCast('float',variableName)

Ryan Duckworth 
Macromedia ColdFusion Certified Professional 

Uhlig Communications 
10983 Granada Lane 
Overland Park, KS 66211 
(913) 754-4272

-----Original Message-----
From: Mark Drew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 05, 2005 11:12 AM
To: CF-Talk
Subject: Re: CF Allows Negative Zero?

Can you owe nothing? how about if I give you nothing is that +0?

hmmm.. abstract


On Wed, 5 Jan 2005 10:44:40 -0600, Dawson, Michael <[EMAIL PROTECTED]>
wrote:
> If you enter a negative zero (-0), CF keeps it as is and does not
strip
> the negative sign.
> 
> I would assume that is because CF may think this is a string, however,
> it passes the IsNumeric() function.
> 
> Should I just use the val() in my setter when I expect a numeric value
> to be passed?
> 
> Thanks
> M!ke
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189434
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

Reply via email to