Skip to content
Types
import type { NumberFormat } from "@arcgis/core/intl/number.js";

Type definitions

NumberFormat

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

The Web map definition for formatting numbers. This provides more detail about how a number value should be displayed.

See also

digitSeparator

Property
Type
boolean | null | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

Indicates if the number should be formatted with a thousands separator. This is equivalent to useGrouping.

places

Property
Type
number | null | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

Specifies the number of decimal places that should appear in the formatted number. Any places beyond this value are rounded. This is equivalent to defining minimumFractionDigits and maximumFractionDigits.