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

◆ ParseSingle()

static float System.Number.ParseSingle ( ReadOnlySpan< char > value,
NumberStyles styles,
NumberFormatInfo info )
inlinestaticpackage

Definition at line 5622 of file Number.cs.

5623 {
5624 if (!TryParseSingle(value, styles, info, out var result))
5625 {
5627 }
5628 return result;
5629 }
static void ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type=TypeCode.Empty)
Definition Number.cs:5918
static unsafe bool TryParseSingle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, out float result)
Definition Number.cs:5775

References System.info, System.Number.ThrowOverflowOrFormatException(), System.Number.TryParseSingle(), and System.value.

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