We're dividing 31459876 by 125 
We want to figure out the number of times 31459876 can be divided by 125.

Going ahead to step 1:
125 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 125

On to step 2:
31 divided by 125 is 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Fetch the next digit (4) from the dividend, attach it to 31 and continue: 314 / 125

Advancing to step 3:
If we divide 314 by 125, we get 2 and a remainder of 64.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 250 from 314 to get 64.
Take the next digit (5) from the dividend and append it to 64, then repeat: 645 / 125

Advancing to step 4:
If we divide 645 by 125, we get 5 and a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
If we subtract 625 from 645, we get 20.
Take the next digit (9) from the dividend and append it to 20, then repeat: 209 / 125

On to step 5:
The number 125 fits into 209 1 times, leaving a remainder of 84.
Record the quotient 1 as the next digit in the result. 
Result so far: 251.0
Subtract 125 from 209 to get 84.
Take the next digit (8) from the dividend and append it to 84, then repeat: 848 / 125

Step 6:
When dividing 848 by 125, we get 6 with a remainder of 98.
The number 6 becomes the next digit in our result. 
Result so far: 2516.0
The remainder is 98 after subtracting 750 from 848.
Take the next digit (7) from the dividend and append it to 98, then repeat: 987 / 125

Moving on to step 7:
The number 125 fits into 987 7 times, leaving a remainder of 112.
Write down 7 as next digit of the result. 
Result so far: 25167.0
Deduct 875 from 987 and we're left with 112.
Grab the next digit (6) from the dividend, add it to 112, then carry on: 1126 / 125

Let's proceed to step 8:
125 can be fit into 1126 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 251679.0
If we subtract 1125 from 1126, we 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 9:
If we divide 10 by 125, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 251679.0
Subtracting 0 from 10 leaves us 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.

Going ahead to step 10:
125 can be fit into 100 0 times, resulting in a remainder of 100.
Record the quotient 0 as the next digit in the result. 
Result so far: 251679.0
If we take 0 away from 100, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

The final outcome is 251679.0, with a leftover of 0.1.