QueryHelperGetDecimal Method |
Returns the decimal representation of a query parameter or default value if parameter is not a decimal number.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static decimal GetDecimal(
string name,
decimal defaultValue
)
Parameters
- name
- Type: SystemString
Query parameter - defaultValue
- Type: SystemDecimal
Default value
Return Value
Type:
DecimalSee Also