ConvertHelperToDouble Method |
将类型装换为double类型
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static double ToDouble(
Object obj,
double defaultValue = 0
)
Public Shared Function ToDouble (
obj As Object,
Optional defaultValue As Double = 0
) As Double
public:
static double ToDouble(
Object^ obj,
double defaultValue = 0
)
static member ToDouble :
obj : Object *
?defaultValue : float
(* Defaults:
let _defaultValue = defaultArg defaultValue 0
*)
-> float
Parameters
- obj
- Type: SystemObject
object类型 - defaultValue (Optional)
- Type: SystemDouble
默认值
Return Value
Type:
Doubledouble类型
See Also