Let's divide 22458 by 31
We want to figure out the number of times 22458 can be divided by 31.

Advancing to step 1:
When dividing 2 by 31, we get 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 31

Let's proceed to step 2:
When dividing 22 by 31, we get 0 with a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 22 after subtracting 0 from 22.
Bring next digit (4) of the dividend behind the 22 and repeat the process: 224 / 31

Let's proceed to step 3:
The number 31 fits into 224 7 times, leaving a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtract 217 from 224 to get 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 31

On to step 4:
75 divided by 31 is 2 with a remainder of 13.
The next digit of our result is 2. 
Result so far: 72.0
Deduct 62 from 75 and we're left with 13.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 31

Moving on to step 5:
31 can be fit into 138 4 times, resulting in a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 724.0
The remainder is 14 after subtracting 124 from 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 6:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 724.4
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 7:
When dividing 160 by 31, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 724.45
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
If we divide 50 by 31, we get 1 and a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 724.451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 9:
When dividing 190 by 31, we get 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 724.4516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 10:
31 goes into 40 1 times with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 724.45161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 11:
90 divided by 31 is 2 with a remainder of 28.
The next digit of our result is 2. 
Result so far: 724.451612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 12:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 724.4516129
Subtract 279 from 280 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 13:
When dividing 10 by 31, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 724.4516129
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The quotient of the division is 724.4516129, and the remainder is 1e-08.