Ok, what's happening here ?  What is C actually calculating?

<cfscript>
    a="1,000";
    b="2,000";
    c=a*b;
</cfscript>
<cfoutput>
   <p>a=#a#<br />
   b=#b#<br />
   c=#c#<br />
</cfoutput>


This gives the following result:
a=1,000
b=2,000
c=1500206316

I'd have thought C should be 2,000,000.  So what's happening instead?

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month


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