NumberFormatStyle

enum experimental

npm Package @angular/common
Module import { NumberFormatStyle } from '@angular/common';
Source common/src/i18n/locale_data_api.ts

Overview

enum NumberFormatStyle {
  Decimal
  Percent
  Currency
  Scientific
}

Description

The different format styles that can be used to represent numbers. Used by the function getLocaleNumberFormat.

Members

Decimal

Percent

Currency

Scientific

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/common/NumberFormatStyle