Table of Contents

Method GetSingle

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

GetSingle(IFormatProvider?)

Parses the value contained in this StringValue as a float. Throws an exception if the value couldn't be parsed to the target type.

public float GetSingle(IFormatProvider? formatProvider = null)

Parameters

formatProvider IFormatProvider

The IFormatProvider to use for parsing. Defaults to null.

Returns

float

The converted float.

Exceptions

FormatException

Thrown when the value cannot be parsed to a float.