• 2022-05-28
    Number对象的( )方法用于把数字转换为字符串,结果的小数点后有指定位数的数字。
    A: toLocaleString()
    B: toFixed()
    C: toExponential()
    D: toPrecision()