Function mozjs::jsapi::NumberToString
source · pub unsafe extern "C" fn NumberToString(d: f64, out: *mut [i8; 32])
Expand description
Store in |out| the null-terminated, base-10 result of |ToString| applied to |d| per https://tc39.es/ecma262/#sec-tostring-applied-to-the-number-type. (This will produce “NaN”, “-Infinity”, or “Infinity” for non-finite |d|.)