export function number2Str(num, length) { num = num.toString(); while (num.length < length) { num = '0' + num; } return num; }