Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2332 closed Bug (No Bug)

Uncertainty in the calculations

Reported by: micromega@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.8.1 Severity: None
Keywords: Cc: Arses

Description

Discrepancy appears for certain values ​​of the variables.

example:

$a = 47 * 0.01
$b = 0.47
If $a <> $b Then MsgBox(0, "Report", $a - $b, 0)

Attachments (0)

Change History (2)

comment:1 by J-Paul Mesnage, 13 years ago

Resolution: No Bug
Status: newclosed

In fact when using Float calculation you cannot expect more than 15 digits precision.
That's true under any computer environnment not just AutoIt

NO Bug

comment:2 by anonymous, 13 years ago

Thanks!

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.