Numeric Intervals
- Tags
- math
Specifies a range of values.
Round bracket notation excludes the end value, square bracket notation includes it.
Notation | Meaning |
---|---|
\( [0, 20] \) | 0,1,\ldots,19,20 |
\( (0, 20) \) | 1,2,\ldots,18,19 |
\( (0, 20] \) | 1,2,\ldots,19,20 |
\( [0, 20) \) | 0,1,\ldots,18,19 |