Appearance
获取小数部分长度
decimalLength(1.123); // 3 decimalLength(".001"); // 3 decimalLength("1.0"); // 1