Let's divide 31438588 by 580
We want to divide 31438588 by 580.

Step 1:
580 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 580

Going ahead to step 2:
When dividing 31 by 580, we get 0 with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Bring next digit (4) of the dividend behind the 31 and repeat the process: 314 / 580

Step 3:
If we divide 314 by 580, we get 0 and a remainder of 314.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 314 after subtracting 0 from 314.
Take the next digit (3) from the dividend and append it to 314, then repeat: 3143 / 580

Going ahead to step 4:
If we divide 3143 by 580, we get 5 and a remainder of 243.
The next digit of our result is 5. 
Result so far: 5.0
Subtract 2900 from 3143 to get 243.
Append the next digit (8) from the dividend to 243 and continue with: 2438 / 580

Moving on to step 5:
580 can be fit into 2438 4 times, resulting in a remainder of 118.
Use 4 as the next digit of our solution. 
Result so far: 54.0
Subtract 2320 from 2438 to get 118.
Bring next digit (5) of the dividend behind the 118 and repeat the process: 1185 / 580

Step 6:
If we divide 1185 by 580, we get 2 and a remainder of 25.
Put 2 as the next digit of the answer. 
Result so far: 542.0
The remainder is 25 after subtracting 1160 from 1185.
Take the next digit (8) from the dividend and append it to 25, then repeat: 258 / 580

Moving on to step 7:
When dividing 258 by 580, we get 0 with a remainder of 258.
Use 0 as the next digit of our solution. 
Result so far: 5420.0
If we subtract 0 from 258, we get 258.
Grab the next digit (8) from the dividend, add it to 258, then carry on: 2588 / 580

On to step 8:
The number 580 fits into 2588 4 times, leaving a remainder of 268.
The next digit of our result is 4. 
Result so far: 54204.0
If we take 2320 away from 2588, we end up with 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Let's proceed to step 9:
The number 580 fits into 2680 4 times, leaving a remainder of 360.
Record the quotient 4 as the next digit in the result. 
Result so far: 54204.4
Deduct 2320 from 2680 and we're left with 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Moving on to step 10:
3600 divided by 580 is 6 with a remainder of 120.
Write down 6 as next digit of the result. 
Result so far: 54204.46
If we take 3480 away from 3600, we end up with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Advancing to step 11:
When dividing 1200 by 580, we get 2 with a remainder of 40.
Use 2 as the next digit of our solution. 
Result so far: 54204.462
The remainder is 40 after subtracting 1160 from 1200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 12:
If we divide 400 by 580, we get 0 and a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 54204.462
Subtracting 0 from 400 leaves us with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Let's proceed to step 13:
If we divide 4000 by 580, we get 6 and a remainder of 520.
Record the quotient 6 as the next digit in the result. 
Result so far: 54204.46206
Subtracting 3480 from 4000 leaves us with 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Moving on to step 14:
The number 580 fits into 5200 8 times, leaving a remainder of 560.
The number 8 becomes the next digit in our result. 
Result so far: 54204.462068
Subtract 4640 from 5200 to get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Step 15:
If we divide 5600 by 580, we get 9 and a remainder of 380.
The next digit of our result is 9. 
Result so far: 54204.4620689
If we take 5220 away from 5600, we end up with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Advancing to step 16:
The number 580 fits into 3800 6 times, leaving a remainder of 320.
Write down 6 as next digit of the result. 
Result so far: 54204.46206896
Subtracting 3480 from 3800 leaves us with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

The quotient of the division is 54204.46206896, and the remainder is 3.2e-07.