Class NumberSymbols
The localised symbols that are commonly used when formatting numbers in a given locale.
Inherited Members
Namespace: Sepia.Globalization.Numbers
Assembly: Sepia.Globalization.dll
Syntax
public class NumberSymbols
Properties
| Improve this Doc View SourceCurrencyDecimal
Separates the integer and fractional part of the currency number.
Declaration
public string CurrencyDecimal { get; set; }
Property Value
Type | Description |
---|---|
String | Defaults to Decimal. |
CurrencyGroup
Separates clusters of integer digits to make large numbers more legible.
Declaration
public string CurrencyGroup { get; set; }
Property Value
Type | Description |
---|---|
String | Defaults to Group. |
Decimal
Separates the integer and fractional part of the number.
Declaration
public string Decimal { get; set; }
Property Value
Type | Description |
---|---|
String |
Exponential
Symbol separating the mantissa and exponent values.
Declaration
public string Exponential { get; set; }
Property Value
Type | Description |
---|---|
String |
Group
Separates clusters of integer digits to make large numbers more legible.
Declaration
public string Group { get; set; }
Property Value
Type | Description |
---|---|
String |
Infinity
The infinity sign.
Declaration
public string Infinity { get; set; }
Property Value
Type | Description |
---|---|
String |
List
Symbol used to separate numbers in a list intended to represent structured data such as an array.
Declaration
public string List { get; set; }
Property Value
Type | Description |
---|---|
String |
MinusSign
Symbol used to denote negative value.
Declaration
public string MinusSign { get; set; }
Property Value
Type | Description |
---|---|
String |
NotANumber
The NaN sign.
Declaration
public string NotANumber { get; set; }
Property Value
Type | Description |
---|---|
String |
PercentSign
Symbol used to indicate a percentage (1/100th) amount.
Declaration
public string PercentSign { get; set; }
Property Value
Type | Description |
---|---|
String |
PerMille
Symbol used to indicate a per-mille (1/1000th) amount.
Declaration
public string PerMille { get; set; }
Property Value
Type | Description |
---|---|
String |
PlusSign
Symbol used to denote positive value.
Declaration
public string PlusSign { get; set; }
Property Value
Type | Description |
---|---|
String |
SuperscriptingExponent
Declaration
public string SuperscriptingExponent { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceCreate(Locale)
Creates the symbols for the specified Locale.
Declaration
public static NumberSymbols Create(Locale locale)
Parameters
Type | Name | Description |
---|---|---|
Locale | locale | The locale. |
Returns
Type | Description |
---|---|
NumberSymbols | The symbols that are the best for the |