ScanUtilstoDecimal Method |
Convert the given input to decimal or fall back to the default value.
Namespace: asprise_imaging_apiAssembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static decimal toDecimal(
Object val,
[OptionalAttribute] decimal defaultValue
)
Public Shared Function toDecimal (
val As Object,
<OptionalAttribute> defaultValue As Decimal
) As Decimal
public:
static Decimal toDecimal(
Object^ val,
[OptionalAttribute] Decimal defaultValue
)
static member toDecimal :
val : Object *
[<OptionalAttribute>] defaultValue : decimal -> decimal
Parameters
- val
- Type: SystemObject
- defaultValue (Optional)
- Type: SystemDecimal
Return Value
Type:
DecimalSee Also