[This is preliminary documentation and is subject to change.]
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static decimal AsDecimal(
this string val,
[OptionalAttribute] decimal dflt
)
public static decimal AsDecimal(
this string val,
[OptionalAttribute] decimal dflt
)
<ExtensionAttribute>
Public Shared Function AsDecimal (
val As String,
<OptionalAttribute> dflt As Decimal
) As Decimal
<ExtensionAttribute>
Public Shared Function AsDecimal (
val As String,
<OptionalAttribute> dflt As Decimal
) As Decimal
public:
[ExtensionAttribute]
static Decimal AsDecimal(
String^ val,
[OptionalAttribute] Decimal dflt
)
public:
[ExtensionAttribute]
static Decimal AsDecimal(
String^ val,
[OptionalAttribute] Decimal dflt
)
static member AsDecimal :
val : string *
[<OptionalAttribute>] dflt : decimal -> decimal
static member AsDecimal :
val : string *
[<OptionalAttribute>] dflt : decimal -> decimal
Return Value
Type:
DecimalUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).