Module

JS.LocaleSensitive.Number

Package
purescript-js-intl
Repository
pete-murphy/purescript-js-intl

#toLocaleString Source

toLocaleString :: forall provided. ConvertOptionsWithDefaults ToNumberFormatOptions (Record NumberFormatOptions) (Record provided) (Record NumberFormatOptions) => Array Locale -> Record provided -> Number -> Effect String

Returns a string with a language-sensitive representation of this number. When formatting large numbers of numbers, it is better to use Intl.NumberFormat.format instead.