[java] How to remove decimal values from a value of type 'double' in Java