We're dividing 703670 by 40 
Our goal is to divide 703670 by 40.

Going ahead to step 1:
40 can be fit into 7 0 times, resulting in a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Append the next digit (0) from the dividend to 7 and continue with: 70 / 40

Step 2:
If we divide 70 by 40, we get 1 and a remainder of 30.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 40 from 70 to get 30.
Fetch the next digit (3) from the dividend, attach it to 30 and continue: 303 / 40

Moving on to step 3:
If we divide 303 by 40, we get 7 and a remainder of 23.
Write down 7 as next digit of the result. 
Result so far: 17.0
Deduct 280 from 303 and we're left with 23.
Append the next digit (6) from the dividend to 23 and continue with: 236 / 40

Advancing to step 4:
If we divide 236 by 40, we get 5 and a remainder of 36.
Use 5 as the next digit of our solution. 
Result so far: 175.0
Deduct 200 from 236 and we're left with 36.
Append the next digit (7) from the dividend to 36 and continue with: 367 / 40

Moving on to step 5:
40 can be fit into 367 9 times, resulting in a remainder of 7.
The next digit of our result is 9. 
Result so far: 1759.0
Subtract 360 from 367 to get 7.
Grab the next digit (0) from the dividend, add it to 7, then carry on: 70 / 40

Step 6:
The number 40 fits into 70 1 times, leaving a remainder of 30.
Use 1 as the next digit of our solution. 
Result so far: 17591.0
Subtracting 40 from 70 leaves us 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.

Step 7:
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: 17591.7
Deduct 280 from 300 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.

Going ahead to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 17591.75
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:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 17591.75
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.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 17591.75
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.

The final outcome is 17591.75, with a leftover of 0.0.