We're dividing 985217 by 945 
Our goal is to divide 985217 by 945.

Let's proceed to step 1:
When dividing 9 by 945, we get 0 with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 945

On to step 2:
945 can be fit into 98 0 times, resulting in a remainder of 98.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 98, we end up with 98.
Grab the next digit (5) from the dividend, add it to 98, then carry on: 985 / 945

Advancing to step 3:
If we divide 985 by 945, we get 1 and a remainder of 40.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 945 from 985, we get 40.
Fetch the next digit (2) from the dividend, attach it to 40 and continue: 402 / 945

Step 4:
945 can be fit into 402 0 times, resulting in a remainder of 402.
Use 0 as the next digit of our solution. 
Result so far: 10.0
If we take 0 away from 402, we end up with 402.
Take the next digit (1) from the dividend and append it to 402, then repeat: 4021 / 945

On to step 5:
945 can be fit into 4021 4 times, resulting in a remainder of 241.
The number 4 becomes the next digit in our result. 
Result so far: 104.0
If we subtract 3780 from 4021, we get 241.
Fetch the next digit (7) from the dividend, attach it to 241 and continue: 2417 / 945

On to step 6:
2417 divided by 945 is 2 with a remainder of 527.
The next digit of our result is 2. 
Result so far: 1042.0
The remainder is 527 after subtracting 1890 from 2417.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5270, and continue the process.

Moving on to step 7:
945 goes into 5270 5 times with a remainder of 545.
Write down 5 as next digit of the result. 
Result so far: 1042.5
Deduct 4725 from 5270 and we're left with 545.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5450, and continue the process.

On to step 8:
The number 945 fits into 5450 5 times, leaving a remainder of 725.
The number 5 becomes the next digit in our result. 
Result so far: 1042.55
Subtracting 4725 from 5450 leaves us with 725.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7250, and continue the process.

In conclusion, the division gives 1042.55 with a balance of 0.725.