[][src]Function boa::builtins::number::to_precision

pub fn to_precision(
    this: &Value,
    args: &[Value],
    _ctx: &mut Interpreter
) -> ResultValue

Number().toPrecision(p)

https://tc39.es/ecma262/#sec-number.prototype.toprecision