dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Math is a stupid thing

  1. #1
    Senior Member
    Join Date
    Mar 2000
    Posts
    182

    Math is a stupid thing

    Errr, anyone noticed this:

    x = 0.2
    x = x - 0.1

    result:

    x = 0.999999999999999

    continuing:

    x = x - 0.1

    result

    x = -1.53421231243

    !!!!!!!!!!!!

    Why is Flash so stupid? Is there a base of bugs in it so i do not get suprised next time?

  2. #2
    Member
    Join Date
    Dec 2000
    Posts
    60
    What do you mean?
    x=0.2;
    x=x-0.1;
    result x=0.1
    no bug

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center