コード例 #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
ファイル: NumberFormatter.cs プロジェクト: yang123vc/iced
 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)