/**
 * The Web map definition for formatting numbers.  This provides more detail about how a number value should be displayed.
 *
 * @since 5.0
 * @see [FieldInfoFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/)
 * @see [Web map specification - format](https://developers.arcgis.com/web-map-specification/objects/format)
 * @see [FieldInfoFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/)
 */
export interface NumberFormat {
  /**
   * Indicates if the number should be formatted with a thousands separator.
   *   This is equivalent to [`useGrouping`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters).
   *
   * @since 5.0
   */
  digitSeparator?: boolean | null;
  /**
   * 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`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters)
   *   and [`maximumFractionDigits`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters).
   *
   * @since 5.0
   */
  places?: number | null;
}