"use strict";

exports.__esModule = true;
exports.getNumberLength = void 0;

/**
 * 求数字整数位数
 * @function getNumberLength
 * @param n
 * @returns {number}
 */
var getNumberLength = function getNumberLength(n) {
  return Math.round(n).toString().length;
};

exports.getNumberLength = getNumberLength;