How to print 3 decimal places in java July 8, 2019 16 32 64 128 How to print float value upto 3 decimal places in java 2 decimal places