Click or drag to resize
ValidationHelperIsInRange Method (Double, Double, Double)
Returns true if value is higher than or equal to minimum and lesser than or equal to maximum.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static bool IsInRange(
	double min,
	double max,
	double value
)

Parameters

min
Type: SystemDouble
Minimum value
max
Type: SystemDouble
Maximum value
value
Type: SystemDouble
Value to check

Return Value

Type: Boolean
See Also