Click or drag to resize
QueryHelperGetDecimal Method
Returns the decimal representation of a query parameter or default value if parameter is not a decimal number.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static decimal GetDecimal(
	string name,
	decimal defaultValue
)

Parameters

name
Type: SystemString
Query parameter
defaultValue
Type: SystemDecimal
Default value

Return Value

Type: Decimal
See Also