940818 divided by 45 
We want to divide 940818 by 45.

Moving on to step 1:
45 goes into 9 0 times with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 45

Going ahead to step 2:
If we divide 94 by 45, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 90 from 94 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 45

On to step 3:
If we divide 40 by 45, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 20.0
The remainder is 40 after subtracting 0 from 40.
Take the next digit (8) from the dividend and append it to 40, then repeat: 408 / 45

Going ahead to step 4:
If we divide 408 by 45, we get 9 and a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 209.0
Deduct 405 from 408 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 45

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

Going ahead to step 6:
If we divide 318 by 45, we get 7 and a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 20907.0
If we take 315 away from 318, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
When dividing 30 by 45, we get 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 20907.0
Subtracting 0 from 30 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.

Advancing to step 8:
45 goes into 300 6 times with a remainder of 30.
Use 6 as the next digit of our solution. 
Result so far: 20907.06
If we subtract 270 from 300, we get 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 9:
300 divided by 45 is 6 with a remainder of 30.
The next digit of our result is 6. 
Result so far: 20907.066
The remainder is 30 after subtracting 270 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final outcome is 20907.066, with a leftover of 0.003.