We're dividing 40157 by 10 
We're looking to find how many times 10 goes into 40157.

Step 1:
When dividing 4 by 10, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 10

Going ahead to step 2:
40 divided by 10 is 4 with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 40 from 40, we get 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 10

Going ahead to step 3:
The number 10 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 40.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 10

On to step 4:
10 can be fit into 15 1 times, resulting in a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 401.0
If we subtract 10 from 15, we get 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 10

Going ahead to step 5:
10 goes into 57 5 times with a remainder of 7.
Use 5 as the next digit of our solution. 
Result so far: 4015.0
If we subtract 50 from 57, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 6:
If we divide 70 by 10, we get 7 and a remainder of 0.
The next digit of our result is 7. 
Result so far: 4015.7
If we take 70 away from 70, we end up 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.

Let's proceed to step 7:
When dividing 0 by 10, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 4015.7
If we take 0 away from 0, we end up 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.

Let's proceed to step 8:
10 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: 4015.7
Subtract 0 from 0 to 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 4015.7 with a balance of 0.0.