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

On to step 1:
If we divide 5 by 38, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 38

Going ahead to step 2:
38 goes into 58 1 times with a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 38 away from 58, we end up with 20.
Grab the next digit (1) from the dividend, add it to 20, then carry on: 201 / 38

Moving on to step 3:
If we divide 201 by 38, we get 5 and a remainder of 11.
The next digit of our result is 5. 
Result so far: 15.0
Subtract 190 from 201 to get 11.
Take the next digit (1) from the dividend and append it to 11, then repeat: 111 / 38

Advancing to step 4:
When dividing 111 by 38, we get 2 with a remainder of 35.
Put 2 as the next digit of the answer. 
Result so far: 152.0
If we subtract 76 from 111, we get 35.
Append the next digit (7) from the dividend to 35 and continue with: 357 / 38

Moving on to step 5:
357 divided by 38 is 9 with a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 1529.0
If we subtract 342 from 357, we get 15.
Fetch the next digit (8) from the dividend, attach it to 15 and continue: 158 / 38

Step 6:
158 divided by 38 is 4 with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 15294.0
The remainder is 6 after subtracting 152 from 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
If we divide 60 by 38, we get 1 and a remainder of 22.
The next digit of our result is 1. 
Result so far: 15294.1
Subtract 38 from 60 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 8:
220 divided by 38 is 5 with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 15294.15
Subtracting 190 from 220 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 9:
38 can be fit into 300 7 times, resulting in a remainder of 34.
The next digit of our result is 7. 
Result so far: 15294.157
Deduct 266 from 300 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 10:
The number 38 fits into 340 8 times, leaving a remainder of 36.
The next digit of our result is 8. 
Result so far: 15294.1578
The remainder is 36 after subtracting 304 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 11:
If we divide 360 by 38, we get 9 and a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 15294.15789
The remainder is 18 after subtracting 342 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 12:
If we divide 180 by 38, we get 4 and a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 15294.157894
If we take 152 away from 180, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 13:
38 can be fit into 280 7 times, resulting in a remainder of 14.
The next digit of our result is 7. 
Result so far: 15294.1578947
If we take 266 away from 280, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 14:
When dividing 140 by 38, we get 3 with a remainder of 26.
The next digit of our result is 3. 
Result so far: 15294.15789473
Subtracting 114 from 140 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.

After the division, we end up with 15294.15789473 and a remainder of 2.6e-08.