How can I truncate a double to only two decimal places in Java? by IT Nursery How can I truncate a double to only two decimal places in Java?