Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Xml.Xsl.Runtime.NumberFormatter Class Referencesealed

Public Member Functions

 NumberFormatter (string formatString, int lang, string letterValue, string groupingSeparator, int groupingSize)
 
string FormatSequence (IList< XPathItem > val)
 

Static Public Member Functions

static void ConvertToAlphabetic (StringBuilder sb, double val, char firstChar, int totalChars)
 
static void ConvertToRoman (StringBuilder sb, double val, bool upperCase)
 

Private Member Functions

void FormatItem (StringBuilder sb, XPathItem item, char startChar, int length)
 

Static Private Member Functions

static unsafe string ConvertToDecimal (double val, int minLen, char zero, string groupSeparator, int groupSize)
 

Private Attributes

readonly string _formatString
 
readonly int _lang
 
readonly string _letterValue
 
readonly string _groupingSeparator
 
readonly int _groupingSize
 
readonly List< TokenInfo_tokens
 

Static Private Attributes

static readonly TokenInfo s_defaultFormat = TokenInfo.CreateFormat("0", 0, 1)
 
static readonly TokenInfo s_defaultSeparator = TokenInfo.CreateSeparator(".", 0, 1)
 
static readonly int[] s_romanDigitValue
 

Detailed Description

Definition at line 7 of file NumberFormatter.cs.


The documentation for this class was generated from the following file: