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

Let's proceed to step 1:
If we divide 4 by 38, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 38

On to step 2:
38 can be fit into 40 1 times, resulting in a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 38 from 40 to get 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 38

Let's proceed to step 3:
21 divided by 38 is 0 with a remainder of 21.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we take 0 away from 21, we end up with 21.
Fetch the next digit (6) from the dividend, attach it to 21 and continue: 216 / 38

Advancing to step 4:
When dividing 216 by 38, we get 5 with a remainder of 26.
Put 5 as the next digit of the answer. 
Result so far: 105.0
Subtract 190 from 216 to get 26.
Take the next digit (3) from the dividend and append it to 26, then repeat: 263 / 38

Let's proceed to step 5:
The number 38 fits into 263 6 times, leaving a remainder of 35.
Use 6 as the next digit of our solution. 
Result so far: 1056.0
If we take 228 away from 263, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 6:
38 can be fit into 350 9 times, resulting in a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 1056.9
Deduct 342 from 350 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 7:
When dividing 80 by 38, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 1056.92
Subtract 76 from 80 to 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.

Let's proceed to step 8:
When dividing 40 by 38, we get 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1056.921
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.

Moving on to step 9:
The number 38 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 1056.921
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.

Moving on to step 10:
The number 38 fits into 200 5 times, leaving a remainder of 10.
The next digit of our result is 5. 
Result so far: 1056.92105
The remainder is 10 after subtracting 190 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 11:
If we divide 100 by 38, we get 2 and a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 1056.921052
If we subtract 76 from 100, we 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.

Advancing to step 12:
If we divide 240 by 38, we get 6 and a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 1056.9210526
Deduct 228 from 240 and we're left 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.

Let's proceed to step 13:
The number 38 fits into 120 3 times, leaving a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 1056.92105263
The remainder is 6 after subtracting 114 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final outcome is 1056.92105263, with a leftover of 6e-09.