er, make that: Number is suitable for converting/casting a string
representation of a number in decimal format (contains only digits
between 0 and 9 and does not start with 0), octal format (begins with
"0"), or hexadecimal format (begins with "0x") to a number, and for
converting/casting a Boolean variable (not a boolean string) to a number.
Helen Triolo wrote:
The decimal equivalent of octal 11, in the same way that
trace(Number("0x33")) returns 51. So Karthik's statement should just
be revised to say that Number is suitable and correct if the aim is to
convert/cast a string representation of a decimal number into that
decimal number.
Helen
Ron Wheeler wrote:
What does Number("011") return?
Ron
Karthik wrote:
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders