Table of Contents

Method TryParseFloat

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

TryParseFloat(string, out float)

Tries to parse a float from the provided string.

public static bool TryParseFloat(this string floatString, out float result)

Parameters

floatString string

The input string.

result float

The parsed float value if successful.

Returns

bool

True if parsing succeeded; otherwise false.