670034 divided by 40 
Let's see how many times 40 fits into 670034.

Step 1:
When dividing 6 by 40, we get 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 40

On to step 2:
When dividing 67 by 40, we get 1 with a remainder of 27.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 40 from 67, we get 27.
Take the next digit (0) from the dividend and append it to 27, then repeat: 270 / 40

Moving on to step 3:
The number 40 fits into 270 6 times, leaving a remainder of 30.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Subtract 240 from 270 to get 30.
Take the next digit (0) from the dividend and append it to 30, then repeat: 300 / 40

Step 4:
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: 167.0
Subtracting 280 from 300 leaves us with 20.
Bring next digit (3) of the dividend behind the 20 and repeat the process: 203 / 40

Step 5:
40 can be fit into 203 5 times, resulting in a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 1675.0
Subtract 200 from 203 to get 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 40

Let's proceed to step 6:
40 goes into 34 0 times with a remainder of 34.
The number 0 becomes the next digit in our result. 
Result so far: 16750.0
Subtracting 0 from 34 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 7:
If we divide 340 by 40, we get 8 and a remainder of 20.
The number 8 becomes the next digit in our result. 
Result so far: 16750.8
Subtracting 320 from 340 leaves us 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 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 16750.85
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.

Moving on to step 9:
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: 16750.85
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.

Step 10:
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: 16750.85
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.

After the division, we end up with 16750.85 and a remainder of 0.0.