how to remove a decimal point java code example Example: how remove decimal points in java String truncated = String.valueOf((int) doubleValue);