cappedvariable
nounUK /kæpt ˈveəriəbl/
US /kæpt ˈveriəbl/
A number that can change but is not allowed to go above a set limit.
The game uses a capped variable so your score can never go past 100.
OTHER MEANINGS
2. In math, a value that changes but stays at or below a fixed top number.
The temperature in the model is a capped variable that never exceeds 40 degrees.
3. In computer programming, a stored number that is automatically held at its highest allowed value.
The health bar is a capped variable, so it stops at 100 even after a big heal.
4. In economics, a changing amount such as a price or rate that has an upper limit set by rules.
The rent is a capped variable, rising each year but never above the legal maximum.