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

◆ Parse() [8/12]

static float System.Single.Parse ( string s,
IFormatProvider? provider )
inlinestatic

Definition at line 329 of file Single.cs.

330 {
331 if (s == null)
332 {
333 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
334 }
335 return Number.ParseSingle(s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.GetInstance(provider));
336 }
static NumberFormatInfo GetInstance(IFormatProvider? formatProvider)

References System.Globalization.NumberFormatInfo.GetInstance(), System.Number.ParseSingle(), System.s, and System.ThrowHelper.ThrowArgumentNullException().