Returns the object converted to integer or default value when the result of conversion equals zero.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- value
- Type: System Object
Value to convert
- defaultValue
- Type: System Int32
Default value in case result is zero
Return Value
Type: Int32See Also