예제 #1
0
 public NumberFormatter(FormatterOptions formatterOptions)
 {
     this.formatterOptions = formatterOptions;
     sb = new StringBuilder();
     // We need 64 chars to format the longest number, which is an unsigned 64-bit value in binary
     numberCharArray = new char[64];
 }
예제 #2
0
 public NumberFormatter(FormatterOptions formatterOptions)
 {
     if (formatterOptions == null)
     {
         ThrowHelper.ThrowArgumentNullException_formatterOptions();
     }
     this.formatterOptions = formatterOptions;
     sb = new StringBuilder();
     // We need 64 chars to format the longest number, which is an unsigned 64-bit value in binary
     numberCharArray = new char[64];
 }
예제 #3
0
 public string FormatInt8(FormatterOptions formatterOptions, in NumberFormattingOptions options, sbyte value)