We're dividing 28588887 by 789 
Our goal is to divide 28588887 by 789.

On to step 1:
If we divide 2 by 789, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 789

Moving on to step 2:
The number 789 fits into 28 0 times, leaving a remainder of 28.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 28 and we're left with 28.
Fetch the next digit (5) from the dividend, attach it to 28 and continue: 285 / 789

Step 3:
If we divide 285 by 789, we get 0 and a remainder of 285.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 285 after subtracting 0 from 285.
Grab the next digit (8) from the dividend, add it to 285, then carry on: 2858 / 789

Step 4:
789 goes into 2858 3 times with a remainder of 491.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 2367 from 2858 and we're left with 491.
Include the next digit (8) from the dividend after 491, then repeat: 4918 / 789

Going ahead to step 5:
If we divide 4918 by 789, we get 6 and a remainder of 184.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
Deduct 4734 from 4918 and we're left with 184.
Include the next digit (8) from the dividend after 184, then repeat: 1848 / 789

Step 6:
The number 789 fits into 1848 2 times, leaving a remainder of 270.
Put 2 as the next digit of the answer. 
Result so far: 362.0
If we take 1578 away from 1848, we end up with 270.
Fetch the next digit (8) from the dividend, attach it to 270 and continue: 2708 / 789

On to step 7:
When dividing 2708 by 789, we get 3 with a remainder of 341.
Write down 3 as next digit of the result. 
Result so far: 3623.0
If we take 2367 away from 2708, we end up with 341.
Take the next digit (7) from the dividend and append it to 341, then repeat: 3417 / 789

On to step 8:
789 can be fit into 3417 4 times, resulting in a remainder of 261.
Record the quotient 4 as the next digit in the result. 
Result so far: 36234.0
The remainder is 261 after subtracting 3156 from 3417.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2610, and continue the process.

Step 9:
The number 789 fits into 2610 3 times, leaving a remainder of 243.
The number 3 becomes the next digit in our result. 
Result so far: 36234.3
Deduct 2367 from 2610 and we're left with 243.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2430, and continue the process.

Moving on to step 10:
When dividing 2430 by 789, we get 3 with a remainder of 63.
Put 3 as the next digit of the answer. 
Result so far: 36234.33
If we subtract 2367 from 2430, we get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Our division results in 36234.33 with a remaining 0.063.