EAPUtilToDecimal Method (Object) |
Convert an object to a decimal value handling the case when the object is DBNull.
When the object is null, the return value will default to zero.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static decimal ToDecimal(
Object value
)
Public Shared Function ToDecimal (
value As Object
) As Decimal
Parameters
- value
- Type: SystemObject
The object to convert
Return Value
Type:
DecimalThe converted object as a decimal.
See Also