[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 double AsDouble(
this string val,
double dflt = 0
)
public static double AsDouble(
this string val,
double dflt = 0
)
<ExtensionAttribute>
Public Shared Function AsDouble (
val As String,
Optional dflt As Double = 0
) As Double
<ExtensionAttribute>
Public Shared Function AsDouble (
val As String,
Optional dflt As Double = 0
) As Double
public:
[ExtensionAttribute]
static double AsDouble(
String^ val,
double dflt = 0
)
public:
[ExtensionAttribute]
static double AsDouble(
String^ val,
double dflt = 0
)
static member AsDouble :
val : string *
?dflt : float
(* Defaults:
let _dflt = defaultArg dflt 0
*)
-> float
static member AsDouble :
val : string *
?dflt : float
(* Defaults:
let _dflt = defaultArg dflt 0
*)
-> float
Return Value
Type:
DoubleUsage 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).