public static void main(String[] args) {
System.out.println(new BigDecimal("1.0010").stripTrailingZeros().toPlainString());
}
public static void main(String[] args) {
System.out.println(new BigDecimal("1.0010").stripTrailingZeros().toPlainString());
}