Export (0) Print
Expand All

Nullable.float32<^T> Function (F#)

Converts the argument to float32. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

Namespace/Module Path: Microsoft.FSharp.Linq.Nullable

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
float32 : Nullable<^T> -> Nullable<float32> when ^T with static member op_Explicit and ^T : (new : unit ->  ^T) and ^T : struct and ^T :> ValueType

// Usage:
Nullable.float32 value

value

Type: Nullable<T><^T>

The input value.

The converted float32.

This function is named ToSingle in the .NET assembly. If accessing the member from a .NET language other than F#, or through reflection, use this name.

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 4.0, Portable

Show:
© 2014 Microsoft