Click or drag to resize
MacroMethodContainerGetDecimalParam Method
Returns the parameter converted to decimal or zero if parameter is not decimal.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 12.0.0
Syntax
C#
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: Decimal
See Also