NumberAbbreviation
Struct in Zigurous.Math
Declaration
[Serializable]
public struct NumberAbbreviation
Description
Represents how a number is abbreviated to a string.
Static Properties
thousands | An abbreviation for numbers in the thousands (Read only). |
millions | An abbreviation for numbers in the millions (Read only). |
billions | An abbreviation for numbers in the billions (Read only). |
trillions | An abbreviation for numbers in the trillions (Read only). |
common | A predefined set of common number abbreviations (Read only). |
Properties
factor | The number factor after which the abbreviation is applied. |
format | The string format of the abbreviated number. |
Constructors
NumberAbbreviation | Creates a new number abbreviation with a given factor and format. |
Methods
Format | Abbreviates a number to a string. |