788351 divided by 45 
Our goal is to divide 788351 by 45.

Let's proceed to step 1:
When dividing 7 by 45, we get 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 45

On to step 2:
When dividing 78 by 45, we get 1 with a remainder of 33.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 45 from 78, we get 33.
Grab the next digit (8) from the dividend, add it to 33, then carry on: 338 / 45

Step 3:
45 can be fit into 338 7 times, resulting in a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Deduct 315 from 338 and we're left with 23.
Bring next digit (3) of the dividend behind the 23 and repeat the process: 233 / 45

Going ahead to step 4:
45 can be fit into 233 5 times, resulting in a remainder of 8.
The next digit of our result is 5. 
Result so far: 175.0
If we take 225 away from 233, we end up with 8.
Bring next digit (5) of the dividend behind the 8 and repeat the process: 85 / 45

Advancing to step 5:
85 divided by 45 is 1 with a remainder of 40.
The number 1 becomes the next digit in our result. 
Result so far: 1751.0
The remainder is 40 after subtracting 45 from 85.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 45

Going ahead to step 6:
The number 45 fits into 401 8 times, leaving a remainder of 41.
Put 8 as the next digit of the answer. 
Result so far: 17518.0
Deduct 360 from 401 and we're left with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

On to step 7:
The number 45 fits into 410 9 times, leaving a remainder of 5.
The next digit of our result is 9. 
Result so far: 17518.9
Subtracting 405 from 410 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
If we divide 50 by 45, we get 1 and a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 17518.91
Subtract 45 from 50 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 9:
The number 45 fits into 50 1 times, leaving a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 17518.911
Deduct 45 from 50 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final result is 17518.911 with a remainder of 0.0005.