Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Converts the argument to Decimal using 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:
decimal : Nullable<^T> -> Nullable<decimal> when ^T with static member op_Explicit and ^T : (new : unit ->  ^T) and ^T : struct and ^T :> ValueType

// Usage:
Nullable.decimal value

value

Type: Nullable<T><^T>

The input value.

The converted decimal.

This function is named ToDecimal 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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft