Meaning & use

decremented

verb·Academictechnicalcomputing

Last updated

UK/ˈdiːkrɪmentɪd/
US/ˈdiːkrɪmentɪd/

“decremented” is a form of “decrement”. See that entry for the full set of meanings.

Meaning

  1. verbtransitive

    Reduced a numerical value or counter by a fixed amount, usually by one.

    Grammar: Transitive; takes an object like 'the value' or 'the counter'. Often used in the passive.

    Patterns

    • decrement something
    • decrement something by something
    • be decremented

    The program decremented the counter each time the loop ran.

    After each purchase, the inventory was decremented by one.

    He decremented the variable to zero before stopping the simulation.

Word forms

base formdecrement
third person singulardecrements
past tensedecremented
past participledecremented
-ing formdecrementing

Common combinations

decrement a variable
You can decrement a variable in a loop to control repetitions.
decrement by one
The function decrements the score by one for each wrong answer.
decrement the counter
The timer decrements the counter every second.
automatically decremented
The stock level is automatically decremented when an order is placed.

Synonyms and how they differ

reduce
Reduce is a general word for making something smaller; decrement is specific to numerical values and often used in programming.
decrease
Decrease can be transitive or intransitive and is more general; decrement is usually transitive and technical.
subtract
Subtract means to take one number away from another; decrement often means reducing by a fixed amount, typically one.

Opposites

incremented

Word family

decrement noun
A reduction in a value or amount.
increment verb
To increase a value by a fixed amount.
incremented verb
Past tense of increment; increased by a fixed amount.

Commonly confused: decremented or decremented vs. incremented?

decremented vs decremented vs. incremented

These are opposites. 'Decremented' means reduced, usually by one; 'incremented' means increased, usually by one. In code, 'i--' decrements, 'i++' increments.

Practice

Fill in the blank: 'The loop ran five times and ___ the counter by one each time.'

Make it your own

Write a sentence using “decremented”, then check it and compare it with the examples above.

Your sentence stays on this page and is not sent anywhere.

Explore more words