/** * 转换为浮点数 * @param {string} str 字串 * @param {number} scale 缩放的位数 */ export function toFloat(str: string, scale?: number): string;