This browser-based app decreases the value of individual digits in one or more integers. You can subtract a constant amount from all digits at once or use a subtraction pattern that subtracts a different amount from each digit. If a digit becomes less than 0, then you can control the underflow in the options. It can either be cyclically decremented to 9 or you can make it stop decrementing at 0. Created by math nerds from team Browserling.
This browser-based app decreases the value of individual digits in one or more integers. You can subtract a constant amount from all digits at once or use a subtraction pattern that subtracts a different amount from each digit. If a digit becomes less than 0, then you can control the underflow in the options. It can either be cyclically decremented to 9 or you can make it stop decrementing at 0. Created by math nerds from team Browserling.
With this web application, you can decrement digits of the given integer. The integer is modified in-place and the data that surrounds it isn't changed. To do its job, the program parses the text that you enter, finds and saves the positions of all integers in it, then decreases the digits in the found integers, and then puts them back in their original positions. There are two options that control how the digits get subtracted – "Decrease All Digits" and "Decrease Individual Digits". The first option subtracts the same value from each digit and you can enter this value below the option. The second option lets you subtract different amounts from the digits. For example, you can decrement only the last digit of an integer or every second digit. This option accepts a subtrahend pattern that specifies the amounts to be subtracted from tens, hundreds, thousands, tens of thousands, and so on. For example, if you enter the integer "987" in the input and set the pattern to "011", you will get "976" in the output (because only ones and tens decrease by 1). There are also two additional radio options that control the digit underflow. In the case when the difference drops below zero, you can leave the difference to be equal to zero by using the "Stop at 0" option or make it cyclically wrap to 9 by using the "Underflow to 9" option. For example, if the input integer is 23 and you subtract 4 from it, then with the first option, you will get the value 00 in the output because both 2-4 and 3-4 are less than 0 so both stop at 0, but with the second option you will get the value 89 in the output because as the differences 2-4 and 3-4 becomes less than 0, they switch from 0 to 9 and the subtraction continues. Integerabulous!
With this web application, you can decrement digits of the given integer. The integer is modified in-place and the data that surrounds it isn't changed. To do its job, the program parses the text that you enter, finds and saves the positions of all integers in it, then decreases the digits in the found integers, and then puts them back in their original positions. There are two options that control how the digits get subtracted – "Decrease All Digits" and "Decrease Individual Digits". The first option subtracts the same value from each digit and you can enter this value below the option. The second option lets you subtract different amounts from the digits. For example, you can decrement only the last digit of an integer or every second digit. This option accepts a subtrahend pattern that specifies the amounts to be subtracted from tens, hundreds, thousands, tens of thousands, and so on. For example, if you enter the integer "987" in the input and set the pattern to "011", you will get "976" in the output (because only ones and tens decrease by 1). There are also two additional radio options that control the digit underflow. In the case when the difference drops below zero, you can leave the difference to be equal to zero by using the "Stop at 0" option or make it cyclically wrap to 9 by using the "Underflow to 9" option. For example, if the input integer is 23 and you subtract 4 from it, then with the first option, you will get the value 00 in the output because both 2-4 and 3-4 are less than 0 so both stop at 0, but with the second option you will get the value 89 in the output because as the differences 2-4 and 3-4 becomes less than 0, they switch from 0 to 9 and the subtraction continues. Integerabulous!
In this example, we decrease the digits of two integers by 1. The first integer consists only of even digits, therefore subtracting 1 from each digit turns all even digits into odd digits. As we have activated the "Underflow to 9" option, the last digit 0 that is decreased by 1 becomes 9 because of the underflow. The second integer consists only of odd digits, therefore it becomes an integer of even digits in the output.
This example uses a nine-digit subtracting pattern "123456789" that is applied on a bunch of nine-digit integers. With this pattern, the digit at ones position is decreased by 9, the digit at tens position is decreased by 8, the digit at hundreds position is decreased by 3, …, and digit at hundred-millions position is decreased by 1. It also activates the underflow-to-9 option, which controls what happens if the result of subtraction is less than 0.
In this example, we decided to simplify the website traffic statistics and round the last three digits of the number of visitors to zero. To quickly do it, we used a special digit decrement pattern "000999" together with the stop-at-zero option. This option prevents digits from underflowing to 9 and they stay at 0. Thus, in the output, we get rounded integer data with the lower half of the digits zeroed-out.
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
Create a drawing that visualizes von Neumann hierarchy of sets.
Create a sudoku puzzle.
Create a list of neat-looking integers (called magic integers).
Generate a list of tuples of integers with n elements.
Quickly convert integers to base one.
Quickly convert base one to integers.
Quickly convert integers to base two.
Quickly convert base two to integers.
Quickly convert integers to base eight.
Quickly convert base eight to integers.
Quickly convert integers to base sixteen.
Quickly convert base sixteen to integers.
Quickly encode integers to base-64.
Quickly decode base-64 to integers.
Quickly convert integers to a custom base.
Quickly encode integers to HTML encoding.
Quickly decode HTML entities to integers.
Quickly encode integers to URL (percent) encoding.
Quickly decode URL-encoded integers.
Quickly convert a signed integer to an unsigned integer.
Quickly convert an unsigned integer to a signed integer.
Generate a list of random integers.
Check if the given integers are palindromes.
Create a matrix whose entries are all integers.
Create a vector with integer coefficients.
Quickly calculate the average value of integers.
Quickly calculate the average value of integer digits.
Quickly randomly select a digit from an integer.
Find which of the given integers is the biggest or smallest.
Limit integer values to a range.
Limit integer digit values to a range.
Create multiple copies of the input integers.
Create multiple copies of digits of input integers.
Rotate the digits of an integer to the left or right.
Move the digits of an integer to the left or right.
Quickly find the difference of a bunch of integers.
Quickly apply the bitwise AND operation to integers.
Quickly apply the bitwise OR operation to integers.
Quickly apply the bitwise XOR operation to integers.
Quickly apply the bitwise NOT operation to integers.
Quickly apply the bitwise NAND operation to integers.
Quickly apply the bitwise NOR operation to integers.
Quickly apply the bitwise NXOR operation to integers.
Quickly divide two or more integers.
Quickly divide the digits of an integer.
Add -st, -nd, -rd, -th suffixes to integers to make them ordinals.
Remove -st, -nd, -rd, -th suffixes from ordinals to make them ints.
Find integers that match a filter (greater, less, equal).
Add padding to integers on the left side.
Add padding to integers on the right side.
Position all integers so that they align on the right.
Position all integers so that they align in the middle.
Turn all integers into positive integers.
Turn all integers into negative integers.
Rewrite an integer in fractional form.
Extract the numerator and denominator from a fraction.
Search for all occurrences of an integer and replace it.
Create a regex that matches the given integers.
Create integers that match the given regular expression.
Create relatively tiny integers.
Create relatively huge integers.
Create a sequence of oscillating integers, such as 123212321.
Create multiple integer sequences at once.
Slightly change an integer so it has an error.
Slightly change integer digits so there are errors.
Apply fuzzing to integers and add perturbations.
Apply fuzzing to integer digits and add digit perturbations.
Add highlighting to certain integers.
Add highlighting to certain integer digits.
Add color to integers based on a condition.
Add color to individual digits in the given integers.
Quickly assign colors to integers and draw them as pixels.
Quickly assign integer values to pixel colors and print them.
Make the digits of an integer go in a spiral shape.
Make the digits of an integer go in a circle.
Make the digits of an integer go in a diamond shape.
Fill a box with certain width and height with digits.
Use ASCII art to convert integers to 2-dimensional drawings.
Use ASCII art to convert integers to 3-dimensional drawings.
Decompose an integer into ones, tens, hundreds, etc.
Generate an ordered list of increasing integers.
Generate an ordered list of decreasing integers.
Quickly find various information about the given integers.
Find hidden patterns of numbers in integers.
Find the Shannon entropy of an integer.
Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.
Enter your email here
We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling our mission is to make people's lives easier, so we created this collection of integer tools. Our tools have the simplest user interface that doesn't require advanced computer skills and they are used by millions of people every month. Our integer tools are actually powered by our programming tools that we created over the last couple of years. Check them out!