decrement
US /ˈdek.rə.mənt/
UK /ˈdek.rə.mənt/
名詞
動詞
減少, 遞減
to decrease (a variable or quantity) by a specific amount, often by one
範例:
•
You need to decrement the counter by one after each successful operation.
每次成功操作後,您需要將計數器減一。
•
The program will automatically decrement the stock quantity when an item is sold.
當商品售出時,程式將自動減少庫存數量。