Skip to content

Commit 2c695fb

Browse files
committed
Update subtraction.md
1 parent 157b205 commit 2c695fb

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
@@ -5,7 +5,7 @@ You can subtract any two `double`s using the `-` operator.
55
```java
66
~void main() {
77
double x = 5.1;
8-
// y will be 4.1
8+
// y will be -4.1
99
double y = x - 9.2;
1010

1111
IO.println(x);

0 commit comments

Comments
 (0)