fixed-range variable

noun
UK /fɪkst reɪndʒ ˈveəriəbl/
US /fɪkst reɪndʒ ˈveriəbl/

A number that can only be certain values, like a score from 1 to 10.

The game uses a fixed-range variable, so your score can only be a whole number from 1 to 10.


OTHER MEANINGS

2. In programming, a variable whose allowed values are limited to a set range.

The programmer declared a fixed-range variable for the dice roll, allowing only 1 through 6.

3. A quantity in math that stays within set minimum and maximum limits.

The thermostat's fixed-range variable keeps the temperature between 18 and 22 degrees.

4. A setting in a game or app that can only be changed within preset limits.

The volume is a fixed-range variable, so you can't turn it above the maximum.