Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Int32ToDecChars()

static unsafe void System.Globalization.FormatProvider.Number.Int32ToDecChars ( char * buffer,
ref int index,
uint value,
int digits )
inlinestaticpackage

Definition at line 359 of file FormatProvider.cs.

360 {
361 while (--digits >= 0 || value != 0)
362 {
363 buffer[--index] = (char)(value % 10 + 48);
364 value /= 10;
365 }
366 }

References System.buffer, System.index, and System.value.

Referenced by System.Globalization.FormatProvider.Number.FormatExponent().