Let's divide 40178 by 43
We want to divide 40178 by 43.

On to step 1:
43 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 43

On to step 2:
The number 43 fits into 40 0 times, leaving a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (1) from the dividend, attach it to 40 and continue: 401 / 43

Advancing to step 3:
When dividing 401 by 43, we get 9 with a remainder of 14.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Subtracting 387 from 401 leaves us with 14.
Fetch the next digit (7) from the dividend, attach it to 14 and continue: 147 / 43

Moving on to step 4:
43 goes into 147 3 times with a remainder of 18.
Write down 3 as next digit of the result. 
Result so far: 93.0
Deduct 129 from 147 and we're left with 18.
Fetch the next digit (8) from the dividend, attach it to 18 and continue: 188 / 43

Moving on to step 5:
43 goes into 188 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 934.0
If we subtract 172 from 188, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 6:
If we divide 160 by 43, we get 3 and a remainder of 31.
Record the quotient 3 as the next digit in the result. 
Result so far: 934.3
If we subtract 129 from 160, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 7:
310 divided by 43 is 7 with a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 934.37
If we take 301 away from 310, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 8:
43 can be fit into 90 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 934.372
If we take 86 away from 90, we end up 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.

Let's proceed to step 9:
When dividing 40 by 43, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 934.372
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 10:
If we divide 400 by 43, we get 9 and a remainder of 13.
The next digit of our result is 9. 
Result so far: 934.37209
Subtracting 387 from 400 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 11:
43 can be fit into 130 3 times, resulting in a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 934.372093
If we subtract 129 from 130, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 12:
43 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 934.372093
If we take 0 away from 10, 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.

Step 13:
43 goes into 100 2 times with a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 934.37209302
If we subtract 86 from 100, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 934.37209302, with a leftover of 1.4e-08.