ConvertHelperToDecimal Method |
将类型装换为decimal类型
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static decimal ToDecimal(
Object obj,
[OptionalAttribute] decimal defaultValue
)
Public Shared Function ToDecimal (
obj As Object,
<OptionalAttribute> defaultValue As Decimal
) As Decimal
public:
static Decimal ToDecimal(
Object^ obj,
[OptionalAttribute] Decimal defaultValue
)
static member ToDecimal :
obj : Object *
[<OptionalAttribute>] defaultValue : decimal -> decimal
Parameters
- obj
- Type: SystemObject
object类型 - defaultValue (Optional)
- Type: SystemDecimal
默认值
Return Value
Type:
Decimaldecimal类型
See Also