Aliases%getBounded( )
Parametersfloat @lowerBound, float @value, float @upperBound

    Returns the result of bounding @value between the given @lowerBound and
@upperBound. In otherwords if @value is less then @lowerBound then
@lowerBound is returned. If @value is greater than @upperBound then
@upperBound is returned. Otherwise @value is returned. If you wish to
constrain only one boundary then you may set one of the boundary values to
null thus making it open ended. if you set both the @lowerBound and the
@upperBound to null then you are an idiot because @value will always be
returned and you have wasted CPU time.


@n->hitpoints = %getBounded( 1, 10d20, @n->maxHitpoints )