pub fn to_fixed(x: &Value, digits: &Value) -> Value
to_fixed(x, digits) — JS Number.prototype.toFixed: format a number with a fixed number of decimal places, returned as a string.
to_fixed(x, digits)
Number.prototype.toFixed