Click or drag to resize
ValidationHelperIsInRange Method (Decimal, Decimal, Decimal)
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: 12.0.0
Syntax
C#
public static bool IsInRange(
	decimal min,
	decimal max,
	decimal value
)

Parameters

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

Return Value

Type: Boolean
See Also