Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#FFcccc
// prints 0.1000000000000000055511151231257827021181583404541015625
// when run in FP-strict mode System.out.println(new BigDecimal(0.1)); 

...

Code Block
bgColor#ccccff
// prints 0.1
// when run in FP-strict mode System.out.println(new BigDecimal("0.1"));

...