RE: [flexcoders] Number("011") = 9 ????

2005-10-04 Thread Abdul Qabiz
Hi, If you have number with prefix as '0', it is considered as an Octal number not a decimal number... So in actionscript x = 011 means octal(11) Octal(11) = 1*8^1 + 1*8^0 = 9 -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christoph

RE: [flexcoders] Number("011") = 9 ????

2005-10-04 Thread Mika Kiljunen
Since it starts with 0 it is considered to be an octal number -> 011 = 9   -Mika   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Christoph Diefenthal Sent: 4. lokakuuta 2005 12:06 To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] Number