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

◆ FormatHalf() [1/2]

static string System.Number.FormatHalf ( Half value,
string format,
NumberFormatInfo info )
inlinestatic

Definition at line 1803 of file Number.cs.

1804 {
1805 Span<char> initialBuffer = stackalloc char[32];
1806 ValueStringBuilder sb = new ValueStringBuilder(initialBuffer);
1807 return FormatHalf(ref sb, value, format, info) ?? sb.ToString();
1808 }
static string FormatHalf(Half value, string format, NumberFormatInfo info)
Definition Number.cs:1803

References System.format, System.Number.FormatHalf(), System.info, System.Text.ValueStringBuilder.ToString(), and System.value.

Referenced by System.Number.FormatHalf(), System.Half.ToString(), System.Half.ToString(), System.Half.ToString(), System.Half.ToString(), and System.Number.TryFormatHalf().