Skip to content

Commit 0a43a2e

Browse files
authored
Change 4.1 to -4.1 (#71)
1 parent 54a4079 commit 0a43a2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/floating_point_numbers/subtraction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Because of the previously mentioned inaccuracy, the results of subtractions migh
1818
```java
1919
~void main() {
2020
~double x = 5.1;
21-
~// y will be 4.1
21+
~// y will be -4.1
2222
~double y = x - 9.2;
2323
// z will be -4.199999999999999
2424
double z = y - 0.1;

0 commit comments

Comments
 (0)