MacroMethodContainerGetDecimalParam Method |
Returns the parameter converted to decimal or zero if parameter is not decimal.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 13.0.131
Syntax protected static decimal GetDecimalParam(
Object parameter,
string culture = null
)
Parameters
- parameter
- Type: SystemObject
Parameter to convert - culture (Optional)
- Type: SystemString
Culture to use to convert object to double
Return Value
Type:
DecimalSee Also