How does it work?
This tool finds all numbers in your text and decrements them by the specified value. It works with:
- Integers (e.g., 42 → 41)
- Decimal numbers (e.g., 3.14 → 2.14)
- Negative numbers (e.g., -10 → -11)
You can specify how much to decrement by using the "Decrement by" field. The default is 1.
Example
Original text
Version 2.0
There are 42 items in the list.
The price is $19.99
Room numbers: 101, 102, 103
Temperature: -5°CAfter decrementing by 1
Version 1
There are 41 items in the list.
The price is $18.99
Room numbers: 100, 101, 102
Temperature: -6°CThis tool is useful for downgrading version numbers, reducing quantities, or modifying any numerical values in text.
Note that decrementing can result in negative numbers. For example, decrementing 1 by 2 will result in -1.
Related Tools
- Increment Numbers - Increment all numbers in text by a specified value
- Create Sequence - Create a sequence from the first number in text
- Duplicate and Increment - Duplicate lines and increment numbers
- Duplicate and Decrement - Duplicate lines and decrement numbers
- Increment Duplicates - Increment numbers in duplicate lines
All Tools
See all available tools