We're dividing 508823 by 38 
We want to divide 508823 by 38.

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
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 38

Moving on to step 2:
If we divide 50 by 38, we get 1 and a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 38 from 50 to get 12.
Fetch the next digit (8) from the dividend, attach it to 12 and continue: 128 / 38

Advancing to step 3:
When dividing 128 by 38, we get 3 with a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 13.0
Subtracting 114 from 128 leaves us with 14.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 38

Let's proceed to step 4:
If we divide 148 by 38, we get 3 and a remainder of 34.
Record the quotient 3 as the next digit in the result. 
Result so far: 133.0
Subtracting 114 from 148 leaves us with 34.
Fetch the next digit (2) from the dividend, attach it to 34 and continue: 342 / 38

On to step 5:
If we divide 342 by 38, we get 9 and a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 1339.0
The remainder is 0 after subtracting 342 from 342.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 38

Going ahead to step 6:
38 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 13390.0
Subtract 0 from 3 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
38 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 13390.0
If we take 0 away from 30, we end up 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.

Going ahead to step 8:
38 goes into 300 7 times with a remainder of 34.
The next digit of our result is 7. 
Result so far: 13390.07
Subtracting 266 from 300 leaves us 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 9:
38 can be fit into 340 8 times, resulting in a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 13390.078
Deduct 304 from 340 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 10:
When dividing 360 by 38, we get 9 with a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 13390.0789
Subtract 342 from 360 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 11:
38 can be fit into 180 4 times, resulting in a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 13390.07894
Deduct 152 from 180 and we're left 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.

Advancing to step 12:
38 goes into 280 7 times with a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 13390.078947
The remainder is 14 after subtracting 266 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 13:
140 divided by 38 is 3 with a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 13390.0789473
If we take 114 away from 140, we end up 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.

On to step 14:
When dividing 260 by 38, we get 6 with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 13390.07894736
Deduct 228 from 260 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

In conclusion, the division gives 13390.07894736 with a balance of 3.2e-08.