static S formatDouble_significant2(double d, int digits) { digits -= Math.ceil(Math.log10(abs(d)) + 1); ret formatDouble(d, digits); }