Table of Contents

Method ParseFloat

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ParseFloat(string)

Parses the specified string as an float.

public static float ParseFloat(this string floatString)

Parameters

floatString string

The float string to parse.

Returns

float

ParseFloat(string, float)

Parses the specified string as an float.

public static float ParseFloat(this string floatString, float defaultValue)

Parameters

floatString string

The float string to parse.

defaultValue float

If parsing fails, the value to return instead.

Returns

float