Skip to main content

to_fixed

Function to_fixed 

Source
pub fn to_fixed(x: &Value, digits: &Value) -> Value
Expand description

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