We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a162de9 commit d107304Copy full SHA for d107304
1 file changed
README.md
@@ -18,8 +18,8 @@ Floating-point arithmetic has well-known precision limitations:
18
19
```php
20
var_dump((0.1 + 0.7) == 0.8); // false
21
-echo (1.4 - 1) * 100; // 40.000000000000006
22
-echo 0.7 + 0.1 - 0.8; // -1.1102230246252E-16
+var_dump((1.4 - 1) * 100); // 39.99999999999999
+var_dump(0.7 + 0.1 - 0.8); // -1.1102230246251565E-16
23
```
24
25
> `bcmath` supports numbers of any size and precision up to 2,147,483,647 decimals, represented as strings.
0 commit comments