Value.ToSingle Method (IFormatProvider)

Converts the Value to an equivalent Single-precision floating-point number using the specified IFormatProvider.

Namespace:  TcHmiSrv.Core
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public float ToSingle(
    IFormatProvider provider
)

Parameters

provider

Type: System.IFormatProvider
An IFormatProvider that supplies culture-specific formatting information.

Return Value

Type: Single
A Single-precision floating-point number that is equivalent to the Value.

Implements

IConvertible.ToSingle(IFormatProvider)

Reference

Value Class

ToSingle Overload

TcHmiSrv.Core Namespace