We look at the division of 315749 by 40 
We want to figure out the number of times 315749 can be divided by 40.

Let's proceed to step 1:
40 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 40

On to step 2:
31 divided by 40 is 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Fetch the next digit (5) from the dividend, attach it to 31 and continue: 315 / 40

Let's proceed to step 3:
40 can be fit into 315 7 times, resulting in a remainder of 35.
The next digit of our result is 7. 
Result so far: 7.0
Subtract 280 from 315 to get 35.
Include the next digit (7) from the dividend after 35, then repeat: 357 / 40

Step 4:
When dividing 357 by 40, we get 8 with a remainder of 37.
Write down 8 as next digit of the result. 
Result so far: 78.0
If we take 320 away from 357, we end up with 37.
Grab the next digit (4) from the dividend, add it to 37, then carry on: 374 / 40

Step 5:
The number 40 fits into 374 9 times, leaving a remainder of 14.
The number 9 becomes the next digit in our result. 
Result so far: 789.0
The remainder is 14 after subtracting 360 from 374.
Take the next digit (9) from the dividend and append it to 14, then repeat: 149 / 40

Going ahead to step 6:
If we divide 149 by 40, we get 3 and a remainder of 29.
The next digit of our result is 3. 
Result so far: 7893.0
If we take 120 away from 149, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 7:
290 divided by 40 is 7 with a remainder of 10.
The number 7 becomes the next digit in our result. 
Result so far: 7893.7
If we take 280 away from 290, 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.

Advancing to step 8:
If we divide 100 by 40, we get 2 and a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 7893.72
Deduct 80 from 100 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.

On to step 9:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 7893.725
Subtract 200 from 200 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.

Moving on to step 10:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 7893.725
Deduct 0 from 0 and we're left 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:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 7893.725
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 7893.725 with a balance of 0.0.