Java keep 2 decimal places July 8, 2019 16 32 64 128 Java bigdecimal keep 2 decimal places Java keep only 2 decimal places 2 decimal places