We look at the division of 788431 by 45 
We're looking to find how many times 45 goes into 788431.

On to step 1:
45 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 45

Going ahead to step 2:
If we divide 78 by 45, we get 1 and a remainder of 33.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 45 from 78 and we're left with 33.
Take the next digit (8) from the dividend and append it to 33, then repeat: 338 / 45

Advancing to step 3:
338 divided by 45 is 7 with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
If we subtract 315 from 338, we get 23.
Take the next digit (4) from the dividend and append it to 23, then repeat: 234 / 45

Let's proceed to step 4:
When dividing 234 by 45, we get 5 with a remainder of 9.
Use 5 as the next digit of our solution. 
Result so far: 175.0
If we subtract 225 from 234, we get 9.
Include the next digit (3) from the dividend after 9, then repeat: 93 / 45

Let's proceed to step 5:
When dividing 93 by 45, we get 2 with a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 1752.0
Subtracting 90 from 93 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 45

Let's proceed to step 6:
31 divided by 45 is 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 17520.0
Subtracting 0 from 31 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 7:
The number 45 fits into 310 6 times, leaving a remainder of 40.
The number 6 becomes the next digit in our result. 
Result so far: 17520.6
If we take 270 away from 310, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 8:
45 can be fit into 400 8 times, resulting in a remainder of 40.
Put 8 as the next digit of the answer. 
Result so far: 17520.68
The remainder is 40 after subtracting 360 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 9:
When dividing 400 by 45, we get 8 with a remainder of 40.
The next digit of our result is 8. 
Result so far: 17520.688
Subtract 360 from 400 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

After the division, we end up with 17520.688 and a remainder of 0.004.