
/**
 * The Web map definition for formatting numbers.  This provides more detail about how a number value should be displayed.
 *
 * @see [FieldInfoFormat](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-support-FieldInfoFormat.html)
 * @see [Web map specification - format](https://developers.arcgis.com/web-map-specification/objects/format)
 * @see [FieldInfoFormat](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-support-FieldInfoFormat.html)
 */
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).
   */
  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).
   */
  places?: number | null;
}