We're dividing 580787 by 38 
Let's see how many times 38 fits into 580787.

Advancing to step 1:
The number 38 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 38

Moving on to step 2:
When dividing 58 by 38, we get 1 with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 38 from 58 leaves us with 20.
Take the next digit (0) from the dividend and append it to 20, then repeat: 200 / 38

Let's proceed to step 3:
38 goes into 200 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Deduct 190 from 200 and we're left with 10.
Grab the next digit (7) from the dividend, add it to 10, then carry on: 107 / 38

On to step 4:
If we divide 107 by 38, we get 2 and a remainder of 31.
Write down 2 as next digit of the result. 
Result so far: 152.0
Subtracting 76 from 107 leaves us with 31.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 38

Moving on to step 5:
If we divide 318 by 38, we get 8 and a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 1528.0
Subtracting 304 from 318 leaves us with 14.
Grab the next digit (7) from the dividend, add it to 14, then carry on: 147 / 38

Moving on to step 6:
If we divide 147 by 38, we get 3 and a remainder of 33.
The number 3 becomes the next digit in our result. 
Result so far: 15283.0
If we subtract 114 from 147, we get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Step 7:
38 can be fit into 330 8 times, resulting in a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 15283.8
Subtracting 304 from 330 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 8:
If we divide 260 by 38, we get 6 and a remainder of 32.
The next digit of our result is 6. 
Result so far: 15283.86
If we subtract 228 from 260, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 9:
38 goes into 320 8 times with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 15283.868
If we take 304 away from 320, 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.

Advancing to step 10:
The number 38 fits into 160 4 times, leaving a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 15283.8684
Subtracting 152 from 160 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 11:
38 can be fit into 80 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 15283.86842
If we take 76 away from 80, we end up 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.

Going ahead to step 12:
When dividing 40 by 38, we get 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 15283.868421
If we subtract 38 from 40, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 13:
38 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 15283.868421
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 14:
The number 38 fits into 200 5 times, leaving a remainder of 10.
The next digit of our result is 5. 
Result so far: 15283.86842105
Subtract 190 from 200 to get 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 final outcome is 15283.86842105, with a leftover of 1e-08.