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

◆ TryParse() [6/13]

static bool System.Single.TryParse ( [NotNullWhen(true)] string? s,
out float result )
inlinestatic

Definition at line 354 of file Single.cs.

355 {
356 if (s == null)
357 {
358 result = 0f;
359 return false;
360 }
361 return TryParse((ReadOnlySpan<char>)s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.CurrentInfo, out result);
362 }
static bool TryParse([NotNullWhen(true)] string? s, out float result)
Definition Single.cs:354

References System.Globalization.NumberFormatInfo.CurrentInfo, System.s, and System.Single.TryParse().

Referenced by System.Single.TryParse(), System.Single.TryParse(), System.Single.TryParse(), System.Single.TryParse(), System.Single.TryParse(), System.Single.TryParse(), System.Single.TryParse(), and System.Single.TryParse().