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

Going ahead to step 1:
When dividing 3 by 40, we get 0 with 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:
If we divide 31 by 40, we get 0 and a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (6) from the dividend, attach it to 31 and continue: 316 / 40

Going ahead to step 3:
40 can be fit into 316 7 times, resulting in a remainder of 36.
The next digit of our result is 7. 
Result so far: 7.0
If we take 280 away from 316, we end up with 36.
Fetch the next digit (0) from the dividend, attach it to 36 and continue: 360 / 40

Going ahead to step 4:
40 goes into 360 9 times with a remainder of 0.
The next digit of our result is 9. 
Result so far: 79.0
Subtract 360 from 360 to get 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 40

Let's proceed to step 5:
The number 40 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 790.0
If we subtract 0 from 5, we get 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 40

Step 6:
The number 40 fits into 56 1 times, leaving a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 7901.0
If we take 40 away from 56, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
If we divide 160 by 40, we get 4 and a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 7901.4
Deduct 160 from 160 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 8:
0 divided by 40 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 7901.4
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.

Step 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 7901.4
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.

Our division results in 7901.4 with a remaining 0.0.