How can I get the exact number of 19.99 * 100-1999?

I have a problem when I need to show (19.99 * 100-1999) on the screen.

When I draw it, it will show - 2.27373675443232e - 13.

The problem is that 19.99 * 100! 1999 =.

I can use Number ((19.99*100) m:System.NET.SocketAddress.ToString ()) to get 1999 exactly using Action Script 2, but this method has failed using ActionScript 3.

Can someone help me to get the exact number?

It is best to by rounding to avoid remainders of arithmetic floating point on computer.  Here is a link to find out why it happens if you want to...

http://download.Oracle.com/docs/CD/E19957-01/806-3568/ncg_goldberg.html

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • Updated for iPad Pro and went portfolio

    I just bought a new iPad Pro and the process of data transfer that portfolio has disappeared as an icon.  In settings, he is always there and configured. How can I get the icon to the top and usable app?  The system has been upgrade to IOS 9.3.2 at t

  • IPhone will not connect to itunes on Windows 10

    Recently I noticed that whenever I try to connect my iPhone 5 c (with the USB cord) to my laptop (currently Windows 10) to sync all my music, it does not / is not recognized at all. I tried every different USB port, I tried: -Restart each device -Uni

  • Visual c + runtimeerror

    Brou - Er and debt offentligt forum, post private information såsom E-mail telefonnumre eller aldrig sa! Ideer:http://www.komogvind.dk/spil/pokersquare/ Programmer, the har med issues Fejlmeddelelser From Oktober har Lee din computer aendringer Hvad

  • Just updated to Mountain Lion; no analysis even with updates. fine print

    I have updated my os mountain lion software yesterday.  Today I discovered that my scan feature of the physical printer and the software on my imac will not work.  Seems to be a communication error.  I did everything suggested on your website without

  • Update errors on the computer.

    I get a blue error screen indicating that the computer has stopped to stop HARMFUL updates. Also the computer mouse and the screen freezes when I have a Update.I have to restart and the problem persists. I had to disable "Automatic Update" to "never