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

◆ Int32ToDecStr()

static string System.Number.Int32ToDecStr ( int value)
inlinestatic

Definition at line 2246 of file Number.cs.

2247 {
2248 if (value < 0)
2249 {
2250 return NegativeInt32ToDecStr(value, -1, NumberFormatInfo.CurrentInfo.NegativeSign);
2251 }
2252 return UInt32ToDecStr((uint)value);
2253 }
static unsafe string NegativeInt32ToDecStr(int value, int digits, string sNegative)
Definition Number.cs:2255
static unsafe string UInt32ToDecStr(uint value)
Definition Number.cs:2382

References System.Globalization.NumberFormatInfo.CurrentInfo, System.Number.NegativeInt32ToDecStr(), System.Number.UInt32ToDecStr(), and System.value.

Referenced by System.Int16.ToString(), System.Int32.ToString(), and System.SByte.ToString().