Has anybody seen this?

When I stored a 17 digit number in Number type actionscript variable and 
tried to display it using Alert, I got a different number.

Here is the program

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute
" creationComplete="initApp()">
        <mx:Script>
                <![CDATA[
                        import mx.controls.Alert;
                        private function initApp():void {
                                var jdx:Number = 12345678901234567;
                                Alert.show(jdx.toString());
                        }
 
                ]]>
        </mx:Script>
</mx:Application>

Alert Box shows 12345678901234568


Jay Jayaraman
Central Billing Services
Financial Management and Planning
(404) 498-8453 (W)
(404) 273-7131 (C)


-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to