Let's divide 158019 by 40
We want to divide 158019 by 40.

On to step 1:
If we divide 1 by 40, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 40

Going ahead to step 2:
If we divide 15 by 40, we get 0 and a remainder of 15.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 15, we end up with 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 40

Step 3:
40 can be fit into 158 3 times, resulting in a remainder of 38.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we take 120 away from 158, we end up with 38.
Grab the next digit (0) from the dividend, add it to 38, then carry on: 380 / 40

Moving on to step 4:
When dividing 380 by 40, we get 9 with a remainder of 20.
The number 9 becomes the next digit in our result. 
Result so far: 39.0
Subtract 360 from 380 to get 20.
Append the next digit (1) from the dividend to 20 and continue with: 201 / 40

Going ahead to step 5:
When dividing 201 by 40, we get 5 with a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 395.0
Subtract 200 from 201 to get 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 40

Let's proceed to step 6:
The number 40 fits into 19 0 times, leaving a remainder of 19.
The next digit of our result is 0. 
Result so far: 3950.0
The remainder is 19 after subtracting 0 from 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 7:
40 can be fit into 190 4 times, resulting in a remainder of 30.
The next digit of our result is 4. 
Result so far: 3950.4
Deduct 160 from 190 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.

On to step 8:
The number 40 fits into 300 7 times, leaving a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 3950.47
Deduct 280 from 300 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
40 goes into 200 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 3950.475
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 3950.475
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 3950.475
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 3950.475 with a balance of 0.0.