We're dividing 31158589 by 258 
Let's see how many times 258 fits into 31158589.

Step 1:
3 divided by 258 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 258

Let's proceed to step 2:
258 goes into 31 0 times with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (1) from the dividend, attach it to 31 and continue: 311 / 258

Moving on to step 3:
258 goes into 311 1 times with a remainder of 53.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 258 from 311 and we're left with 53.
Fetch the next digit (5) from the dividend, attach it to 53 and continue: 535 / 258

On to step 4:
258 can be fit into 535 2 times, resulting in a remainder of 19.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Subtracting 516 from 535 leaves us with 19.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 258

Moving on to step 5:
258 can be fit into 198 0 times, resulting in a remainder of 198.
Put 0 as the next digit of the answer. 
Result so far: 120.0
If we subtract 0 from 198, we get 198.
Fetch the next digit (5) from the dividend, attach it to 198 and continue: 1985 / 258

Let's proceed to step 6:
1985 divided by 258 is 7 with a remainder of 179.
Write down 7 as next digit of the result. 
Result so far: 1207.0
If we subtract 1806 from 1985, we get 179.
Append the next digit (8) from the dividend to 179 and continue with: 1798 / 258

Moving on to step 7:
If we divide 1798 by 258, we get 6 and a remainder of 250.
The number 6 becomes the next digit in our result. 
Result so far: 12076.0
Deduct 1548 from 1798 and we're left with 250.
Bring next digit (9) of the dividend behind the 250 and repeat the process: 2509 / 258

Going ahead to step 8:
The number 258 fits into 2509 9 times, leaving a remainder of 187.
The next digit of our result is 9. 
Result so far: 120769.0
The remainder is 187 after subtracting 2322 from 2509.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1870, and continue the process.

Moving on to step 9:
258 can be fit into 1870 7 times, resulting in a remainder of 64.
The number 7 becomes the next digit in our result. 
Result so far: 120769.7
Deduct 1806 from 1870 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 10:
258 can be fit into 640 2 times, resulting in a remainder of 124.
Use 2 as the next digit of our solution. 
Result so far: 120769.72
Deduct 516 from 640 and we're left with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Step 11:
258 goes into 1240 4 times with a remainder of 208.
Use 4 as the next digit of our solution. 
Result so far: 120769.724
The remainder is 208 after subtracting 1032 from 1240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

On to step 12:
The number 258 fits into 2080 8 times, leaving a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 120769.7248
If we take 2064 away from 2080, 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.

Going ahead to step 13:
258 goes into 160 0 times with a remainder of 160.
The number 0 becomes the next digit in our result. 
Result so far: 120769.7248
If we take 0 away from 160, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

On to step 14:
1600 divided by 258 is 6 with a remainder of 52.
The next digit of our result is 6. 
Result so far: 120769.724806
Subtract 1548 from 1600 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 15:
258 goes into 520 2 times with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 120769.7248062
Subtracting 516 from 520 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 16:
If we divide 40 by 258, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 120769.7248062
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Our division results in 120769.7248062 with a remaining 4e-08.