Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 310 Bytes

2017-04-30-java.md

File metadata and controls

12 lines (12 loc) · 310 Bytes
layout title code result
post
Java
System.out.println(.1 + .2);
System.out.println(.1F + .2F);
0.30000000000000004
0.3

Java has built-in support for arbitrary precision numbers using the BigDecimal class.