> ....where 9 should be an integer, unless Remoting still sends it 
> as a string. If so, it seems there is no way to be sure it's 
> being sent as a number from Flash, is there a way in CF to convert 
> it from a string type (if that's really how its being sent) to type 
> numeric? Or at least find out what data type its being received as?

Well, CF is more or less typeless*, but you can specify the expected data
type in your CFARGUMENT tag. If I recall correctly, you're specifying a
string when you really expect a number. This will result in your CFC
throwing an exception if the data can't be cast as a number. I really don't
see why this would make a difference in this case, assuming that you
actually are passing a numeric value, but I'd recommend that you explicitly
specify the data types you expect your arguments to receive.

* This is an oversimplification, but still a useful way to think of CF.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:211994
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to