bounded-value |
| min number max
| [Function] |
Purpose
Return a numeric value that is bounded between a minimum
and maximum value.
Package :gbbopen-tools
Module :gbbopen-tools
Arguments and values
min | A number (the minimum bound) | |
number | A number | |
max | A number (the maximum bound) | |
bounded-number | A number |
Returns
One of the following values:
Examples
> (bounded-value 3 pi 4) 3.141592653589793d0 > (bounded-value 3.5 pi 4) 3.5 > (bounded-value 2 pi 3) 3 >
Note
Declared numeric and pseudo
probability versions of
bounded-value |