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

◆ UInt32ToDecChars() [2/2]

static unsafe char * System.Number.UInt32ToDecChars ( char * bufferEnd,
uint value,
int digits )
inlinestaticpackage

Definition at line 2371 of file Number.cs.

2372 {
2373 while (--digits >= 0 || value != 0)
2374 {
2375 uint num;
2376 (value, num) = Math.DivRem(value, 10u);
2377 *(--bufferEnd) = (char)(num + 48);
2378 }
2379 return bufferEnd;
2380 }

References System.Math.DivRem(), and System.value.