Click or drag to resize
ValidationHelperIsDecimal Method
Returns true if the object representation matches the decimal type.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static bool IsDecimal(
	Object value,
	string culture = null,
	int precision = 0,
	int scale = 0
)

Parameters

value
Type: SystemObject
Value to check
culture (Optional)
Type: SystemString
Culture code
precision (Optional)
Type: SystemInt32
Maximum number of digits
scale (Optional)
Type: SystemInt32
Maximum number of decimal places

Return Value

Type: Boolean
See Also