> Well, actually, this has nothing to do with JavaScript
The absense of seperate addition and concatenation operators in JavaScript is 
nothing to do with JavaScript?

> Within an HTML form, fields contain string values.
Unless you do a*b or a-b, where it will convert the values to numbers.

In the example above, it was doing a*b+c - and since a*b will produce a number, 
JavaScript should be thinking 'ooh, the +c must be a numerical value, lets do 
some addition'.
But it doesn't. And that's annoying.


>JavaScript provides parseInt() and parseFloat() to cast values to integers
>and floats, respectively.
Yeah, but I can't be arsed typing all that, and I've never encountered any 
problems with /1.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271655
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to