>  >>> print 046
> 38

Dangerous sometimes when systems assume a leading 0 means octal...
Javascript of all things, in their parseInt() will assume OCTAL if you
send in a string of "09". 09 isn't even a valid octal value! It's
kinda hard when your system only fails a couple hours a day due to
this kinda thing... Solution? parseFloat("09")... ;-)


-- 
Derek


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/%(messageid)s
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to