# number

Provides nice extensions to the interface of basic numerical types, for convenience.

## Extensions

### Extensions

`num atLeast limit`

is equivalent to `num.max(limit)`

.

`num atLeast limit`

is equivalent to `num.max(limit)`

.

`num.clamp(low, high)`

is equivalent to `num.max(low).min(high)`

.

`num.clamp(low, high)`

is equivalent to `num.max(low).min(high)`

.

`num atLeast limit`

is equivalent to `num.max(limit)`

.

`num atLeast limit`

is equivalent to `num.max(limit)`

.

`num.clamp(low, high)`

is equivalent to `num.max(low).min(high)`

.

`num.clamp(low, high)`

is equivalent to `num.max(low).min(high)`

.

Determines if the at least as large as `low`

and less than `high`

. Note that the lower bound is inclusive and the upper bound exclusive.

Determines if the at least as large as `low`

and less than `high`

. Note that the lower bound is inclusive and the upper bound exclusive.

`num atLeast limit`

is equivalent to `num.max(limit)`

.

`num atLeast limit`

is equivalent to `num.max(limit)`

.

`num.clamp(low, high)`

is equivalent to `num.max(low).min(high)`

.

`num.clamp(low, high)`

is equivalent to `num.max(low).min(high)`

.

Determines if the at least as large as `low`

and less than `high`

. Note that the lower bound is inclusive and the upper bound exclusive.

`low`

and less than `high`

. Note that the lower bound is inclusive and the upper bound exclusive.

`num atLeast limit`

is equivalent to `num.max(limit)`

.

`num atLeast limit`

is equivalent to `num.max(limit)`

.

`num.clamp(low, high)`

is equivalent to `num.max(low).min(high)`

.

`num.clamp(low, high)`

is equivalent to `num.max(low).min(high)`

.