What to do if I want 3 digits after point in a Floating point number?
If Float amt=1243343.43214; Then I want the value of amt as 1243343.432
Float amt = 1243343.43214f;
DecimalFormat df = new DecimalFormat("#.###");
System.out.println(df.format(amt));