Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: math errors in action script > |
From: | Matt Wobensmith |
Date: | Sat, 21 Oct 2000 01:14:46 +0100 |
Hi Aaron -
You wrote:
>Sometimes the end
>product (/:ans) has a strange value, such as -78.1210000000001, when
>subtracting simple numbers such as 790.72 from 868.841.
This is what's known as "round-off error". It's not a bug, but a side effect
of how computers do math.
It's documented here:
Flash returns erroneous results for certain mathmatical calculations
http://www.macromedia.com/support/flash/ts/documents/roundoff_error.htm
Matt
---------------
Matt Wobensmith
Macromedia
Flash Community Manager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]