Let's divide 470379 by 40
Our goal is to divide 470379 by 40.

On to step 1:
When dividing 4 by 40, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 40

Step 2:
When dividing 47 by 40, we get 1 with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 7 after subtracting 40 from 47.
Take the next digit (0) from the dividend and append it to 7, then repeat: 70 / 40

On to step 3:
70 divided by 40 is 1 with a remainder of 30.
The next digit of our result is 1. 
Result so far: 11.0
If we take 40 away from 70, we end up with 30.
Take the next digit (3) from the dividend and append it to 30, then repeat: 303 / 40

Step 4:
303 divided by 40 is 7 with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 117.0
Deduct 280 from 303 and we're left with 23.
Grab the next digit (7) from the dividend, add it to 23, then carry on: 237 / 40

On to step 5:
The number 40 fits into 237 5 times, leaving a remainder of 37.
Use 5 as the next digit of our solution. 
Result so far: 1175.0
The remainder is 37 after subtracting 200 from 237.
Grab the next digit (9) from the dividend, add it to 37, then carry on: 379 / 40

Let's proceed to step 6:
40 goes into 379 9 times with a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 11759.0
Subtract 360 from 379 to get 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.
Record the quotient 4 as the next digit in the result. 
Result so far: 11759.4
If we take 160 away from 190, we end up 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.

Advancing to step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 11759.47
If we subtract 280 from 300, we get 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:
200 divided by 40 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 11759.475
Deduct 200 from 200 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.

Advancing to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 11759.475
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.

Going ahead to step 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 11759.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.

The quotient of the division is 11759.475, and the remainder is 0.0.