Modify ↓
#2332 closed Bug (No Bug)
Uncertainty in the calculations
| Reported by: | 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)
Note:
See TracTickets
for help on using tickets.

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