pub fn to_locale_string(x: Num<'_>, opts: &Value) -> Result<String, String>
Format x the way x.toLocaleString(locales, opts) does under en-US.
x
x.toLocaleString(locales, opts)