Docs
Reference
Guides
Blog
Discord
/
node:buffer
/
Buffer
/
toLocaleString
M
toLocaleString
Search the reference...
/
Docs
Reference
Guides
Blog
Discord
/
node:buffer
/
Buffer
/
toLocaleString
M
toLocaleString
method
buffer.Buffer.toLocaleString
Not implemented in Bun
toLocaleString
()
:
string
;
Converts a number to a string by using the current locale.
toLocaleString
(
locales
:
string
|
string
[]
,
options
?
:
NumberFormatOptions
)
:
string
;