512349 ÷ 38 
We want to divide 512349 by 38.

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
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 38

Let's proceed to step 2:
51 divided by 38 is 1 with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 38 from 51 to get 13.
Grab the next digit (2) from the dividend, add it to 13, then carry on: 132 / 38

Moving on to step 3:
38 goes into 132 3 times with a remainder of 18.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we take 114 away from 132, we end up with 18.
Grab the next digit (3) from the dividend, add it to 18, then carry on: 183 / 38

Step 4:
When dividing 183 by 38, we get 4 with a remainder of 31.
Use 4 as the next digit of our solution. 
Result so far: 134.0
Deduct 152 from 183 and we're left with 31.
Append the next digit (4) from the dividend to 31 and continue with: 314 / 38

Advancing to step 5:
314 divided by 38 is 8 with a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 1348.0
If we take 304 away from 314, we end up with 10.
Append the next digit (9) from the dividend to 10 and continue with: 109 / 38

Advancing to step 6:
The number 38 fits into 109 2 times, leaving a remainder of 33.
The next digit of our result is 2. 
Result so far: 13482.0
Deduct 76 from 109 and we're left with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 7:
330 divided by 38 is 8 with a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 13482.8
The remainder is 26 after subtracting 304 from 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 8:
38 goes into 260 6 times with a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 13482.86
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.

Let's proceed to step 9:
The number 38 fits into 320 8 times, leaving a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 13482.868
The remainder is 16 after subtracting 304 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
160 divided by 38 is 4 with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 13482.8684
If we subtract 152 from 160, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
38 goes into 80 2 times with a remainder of 4.
The next digit of our result is 2. 
Result so far: 13482.86842
If we subtract 76 from 80, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
The number 38 fits into 40 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 13482.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.

Going ahead to step 13:
When dividing 20 by 38, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 13482.868421
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 14:
38 goes into 200 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 13482.86842105
If we take 190 away from 200, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

In conclusion, the division gives 13482.86842105 with a balance of 1e-08.