Let's divide 50126 by 38
We want to divide 50126 by 38.

Going ahead to step 1:
38 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 38

Let's proceed to step 2:
If we divide 50 by 38, we get 1 and a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 38 from 50 leaves us with 12.
Append the next digit (1) from the dividend to 12 and continue with: 121 / 38

Let's proceed to step 3:
121 divided by 38 is 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtracting 114 from 121 leaves us with 7.
Include the next digit (2) from the dividend after 7, then repeat: 72 / 38

Going ahead to step 4:
38 goes into 72 1 times with a remainder of 34.
Use 1 as the next digit of our solution. 
Result so far: 131.0
The remainder is 34 after subtracting 38 from 72.
Take the next digit (6) from the dividend and append it to 34, then repeat: 346 / 38

On to step 5:
The number 38 fits into 346 9 times, leaving a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 1319.0
Deduct 342 from 346 and we're left 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.

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

Moving on to step 7:
If we divide 20 by 38, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 1319.1
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
38 goes into 200 5 times with a remainder of 10.
The next digit of our result is 5. 
Result so far: 1319.105
Deduct 190 from 200 and we're left 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.

Step 9:
The number 38 fits into 100 2 times, leaving a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 1319.1052
Subtract 76 from 100 to get 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 10:
240 divided by 38 is 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 1319.10526
Subtracting 228 from 240 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 11:
If we divide 120 by 38, we get 3 and a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 1319.105263
Deduct 114 from 120 and we're left 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.

Advancing to step 12:
The number 38 fits into 60 1 times, leaving a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 1319.1052631
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.

Step 13:
When dividing 220 by 38, we get 5 with a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 1319.10526315
Subtract 190 from 220 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

In conclusion, the division gives 1319.10526315 with a balance of 3e-08.