Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 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 Changed 11 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

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 Changed 11 years ago by anonymous

Thanks!

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.