public static String f0(double val) { return(int) val == val ? String.valueOf((int) val) : String.valueOf(val); }