Math387.CheckRange / CheckRangef Method

Overload List

#SignatureDescription
1function CheckRange(const Low: Char; const X: Char; const High: Char): Boolean;
2function CheckRange(const Low: Double; const X: Double; const High: Double): Boolean;Check the value.
3function CheckRange(const Low: Integer; const X: Integer; const High: Integer): Boolean;Check the value.
4function CheckRange(const Low: Int64; const X: Int64; const High: Int64): Boolean;Check the value.
5function CheckRangef(const Low: Single; const X: Single; const High: Single): Boolean;

Overload 1: function CheckRange(const Low: Char; const X: Char; const High: Char): Boolean;

#NameTypeDescription
1LowChar
2XChar
3HighChar

Returns: Boolean

Overload 2: function CheckRange(const Low: Double; const X: Double; const High: Double): Boolean;

Check the value.

#NameTypeDescription
1LowDouble
2XDouble
3HighDouble

Returns: Boolean - true if X is bigger or equal then Low and smaller or equal then High.

Overload 3: function CheckRange(const Low: Integer; const X: Integer; const High: Integer): Boolean;

Check the value.

#NameTypeDescription
1LowInteger
2XInteger
3HighInteger

Returns: Boolean

Remarks:

Parameters can be integers.

Overload 4: function CheckRange(const Low: Int64; const X: Int64; const High: Int64): Boolean;

Check the value.

#NameTypeDescription
1LowInt64
2XInt64
3HighInt64

Returns: Boolean

Remarks:

Parameters can be integers.

Overload 5: function CheckRangef(const Low: Single; const X: Single; const High: Single): Boolean;

#NameTypeDescription
1LowSingle
2XSingle
3HighSingle

Returns: Boolean