Print only 2 decimal places in java July 8, 2019 16 32 64 128 2 decimal places Java double print only 2 decimals