|
ClipRange# | ||
Result# = ClipRange#(Value, LowerLimit, UpperLimit) | ||
Parameters: Value = The value to clip LowerLimit = The lower limit of the range UpperLimit = The upper limit of the range |
||
Returns: Result# = The clipped value |
||
The ClipRange# function clips the specified float value to within given range. If the value is less than the lower limit, the lower limit is returned. If the value is greater than the upper limit, the upper limit is returned. Otherwise the ClipRange returns the original value. Mini Tutorial: Showing the use of the ClipRange# function
This example would output:
|
Related Info: | ClipRange | Range | RndRange | RndRange# : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |