Note: | The double data type is a double-precision 64-bit IEEE 754 floating point. A double literal is of type double if it contains a decimal (e.g., 7.9). Double and float data types can be passed as arguments to the function. The inRange function is overloaded and supports other numeric ranges such as integer, short, long, etc. To ensure that the correct signature is invoked, make sure that the proper numeric syntax is used (no decimal for integer, decimal for floating point). |
lowerBound | Integer The lower bound of the range to check against (inclusive). |
upperBound | Integer The upper bound of the range to check against (inclusive). |
Boolean Returns true if this integer exists within the specified range, false otherwise. |