Let's divide 516240 by 38
Our goal is to divide 516240 by 38.

Advancing to step 1:
If we divide 5 by 38, we get 0 and 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.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 38

Advancing to step 2:
If we divide 51 by 38, we get 1 and a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 38 away from 51, we end up with 13.
Fetch the next digit (6) from the dividend, attach it to 13 and continue: 136 / 38

Going ahead to step 3:
38 can be fit into 136 3 times, resulting in a remainder of 22.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Deduct 114 from 136 and we're left with 22.
Grab the next digit (2) from the dividend, add it to 22, then carry on: 222 / 38

Step 4:
38 can be fit into 222 5 times, resulting in a remainder of 32.
The next digit of our result is 5. 
Result so far: 135.0
If we subtract 190 from 222, we get 32.
Append the next digit (4) from the dividend to 32 and continue with: 324 / 38

Going ahead to step 5:
38 goes into 324 8 times with a remainder of 20.
Use 8 as the next digit of our solution. 
Result so far: 1358.0
If we subtract 304 from 324, we get 20.
Include the next digit (0) from the dividend after 20, then repeat: 200 / 38

On to step 6:
The number 38 fits into 200 5 times, leaving a remainder of 10.
The next digit of our result is 5. 
Result so far: 13585.0
If we subtract 190 from 200, we 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.

On to step 7:
If we divide 100 by 38, we get 2 and a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 13585.2
Deduct 76 from 100 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 8:
38 goes into 240 6 times with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 13585.26
The remainder is 12 after subtracting 228 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
When dividing 120 by 38, we get 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 13585.263
Subtracting 114 from 120 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 10:
If we divide 60 by 38, we get 1 and a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 13585.2631
Subtracting 38 from 60 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
220 divided by 38 is 5 with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 13585.26315
Deduct 190 from 220 and we're left 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.

Advancing to step 12:
When dividing 300 by 38, we get 7 with a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 13585.263157
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.

Step 13:
If we divide 340 by 38, we get 8 and a remainder of 36.
The next digit of our result is 8. 
Result so far: 13585.2631578
If we subtract 304 from 340, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 14:
38 goes into 360 9 times with a remainder of 18.
The next digit of our result is 9. 
Result so far: 13585.26315789
If we subtract 342 from 360, we 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.

In conclusion, the division gives 13585.26315789 with a balance of 1.8e-08.