Click or drag to resize
ValidationHelperGetDouble Method (Object, Double, CultureInfo)
Returns the double representation of an object or default value if not.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static double GetDouble(
	Object value,
	double defaultValue,
	CultureInfo culture = null
)

Parameters

value
Type: SystemObject
Value to convert
defaultValue
Type: SystemDouble
Default value
culture (Optional)
Type: System.GlobalizationCultureInfo
Culture info

Return Value

Type: Double
See Also