Module

Web.Intl.NumberFormat

Package
purescript-web-intl
Repository
ptrfrncsmrph/purescript-web-intl

#NumberFormat Source

#NumberFormatOptions Source

type NumberFormatOptions :: Row Typetype NumberFormatOptions = (compactDisplay :: String, currency :: String, currencyDisplay :: String, currencySign :: String, localeMatcher :: String, maximumFractionDigits :: Int, maximumSignificantDigits :: Int, minimumFractionDigits :: Int, minimumIntegerDigits :: Int, minimumSignificantDigits :: Int, notation :: String, numberingSystem :: String, roundingIncrement :: Int, roundingMode :: String, roundingPriority :: String, signDisplay :: String, style :: String, trailingZeroDisplay :: String, unit :: String, unitDisplay :: String, useGrouping :: Boolean)

#new Source

new :: forall options options'. Union options options' NumberFormatOptions => NonEmptyArray Locale -> Record options -> Effect NumberFormat

#supportedLocalesOf Source

supportedLocalesOf :: forall options options'. Union options options' NumberFormatOptions => NonEmptyArray Locale -> Record options -> Array String

#formatRangeToParts Source

formatRangeToParts :: NumberFormat -> Number -> Number -> Array { type :: String, value :: String }

#formatToParts Source

formatToParts :: NumberFormat -> Number -> Array { type :: String, value :: String }