We look at the division of 781040 by 45 
We want to figure out the number of times 781040 can be divided by 45.

Going ahead to step 1:
When dividing 7 by 45, we get 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 45

On to step 2:
78 divided by 45 is 1 with a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 45 from 78 leaves us with 33.
Grab the next digit (1) from the dividend, add it to 33, then carry on: 331 / 45

Step 3:
331 divided by 45 is 7 with a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Deduct 315 from 331 and we're left with 16.
Append the next digit (0) from the dividend to 16 and continue with: 160 / 45

On to step 4:
The number 45 fits into 160 3 times, leaving a remainder of 25.
Use 3 as the next digit of our solution. 
Result so far: 173.0
The remainder is 25 after subtracting 135 from 160.
Fetch the next digit (4) from the dividend, attach it to 25 and continue: 254 / 45

Let's proceed to step 5:
45 goes into 254 5 times with a remainder of 29.
The next digit of our result is 5. 
Result so far: 1735.0
The remainder is 29 after subtracting 225 from 254.
Bring next digit (0) of the dividend behind the 29 and repeat the process: 290 / 45

Advancing to step 6:
The number 45 fits into 290 6 times, leaving a remainder of 20.
The next digit of our result is 6. 
Result so far: 17356.0
The remainder is 20 after subtracting 270 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 7:
If we divide 200 by 45, we get 4 and a remainder of 20.
The next digit of our result is 4. 
Result so far: 17356.4
If we take 180 away from 200, we end up 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.

Moving on to step 8:
200 divided by 45 is 4 with a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 17356.44
Subtracting 180 from 200 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.

The final result is 17356.44 with a remainder of 0.02.