FilterStateGetDouble Method |
Retrieves a double-precision floating-point value from the filter state.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public double GetDouble(
string name,
double defaultValue = 0
)
Parameters
- name
- Type: SystemString
The name associated with the value to retrieve. - defaultValue (Optional)
- Type: SystemDouble
The default value that will be returned if state doesn't contain value for specified name.
Return Value
Type:
DoubleThe double-precision floating-point value associated with the specified name.
See Also