Show / Hide Table of Contents

Class NumberSymbols

The localised symbols that are commonly used when formatting numbers in a given locale.

Inheritance
Object
NumberSymbols
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sepia.Globalization.Numbers
Assembly: Sepia.Globalization.dll
Syntax
public class NumberSymbols

Properties

| Improve this Doc View Source

CurrencyDecimal

Separates the integer and fractional part of the currency number.

Declaration
public string CurrencyDecimal { get; set; }
Property Value
Type Description
String

Defaults to Decimal.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Decimal

Separates the integer and fractional part of the number.

Declaration
public string Decimal { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Exponential

Symbol separating the mantissa and exponent values.

Declaration
public string Exponential { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Group

Separates clusters of integer digits to make large numbers more legible.

Declaration
public string Group { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Infinity

The infinity sign.

Declaration
public string Infinity { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

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
| Improve this Doc View Source

MinusSign

Symbol used to denote negative value.

Declaration
public string MinusSign { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

NotANumber

The NaN sign.

Declaration
public string NotANumber { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

PercentSign

Symbol used to indicate a percentage (1/100th) amount.

Declaration
public string PercentSign { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

PerMille

Symbol used to indicate a per-mille (1/1000th) amount.

Declaration
public string PerMille { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

PlusSign

Symbol used to denote positive value.

Declaration
public string PlusSign { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

SuperscriptingExponent

Declaration
public string SuperscriptingExponent { get; set; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

Create(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 locale.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX