Skip to content

Commit 9b96321

Browse files
committed
maths
1 parent 33e912e commit 9b96321

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/benblack86/java/Maths.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package benblack86.java;
2+
3+
public class Maths {
4+
5+
/**
6+
* @param args
7+
*/
8+
public static void main(String[] args) {
9+
System.out.println((0.1 + 0.2) + 0.3);
10+
System.out.println(0.1 + (0.2 + 0.3));
11+
System.out.println((0.1 + 0.2) + 0.3 == 0.1 + (0.2 + 0.3));
12+
}
13+
14+
}

0 commit comments

Comments
 (0)