We're dividing 289858 by 45 
Let's see how many times 45 fits into 289858.

Advancing to step 1:
The number 45 fits into 2 0 times, leaving a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 45

On to step 2:
The number 45 fits into 28 0 times, leaving a remainder of 28.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 28 leaves us with 28.
Bring next digit (9) of the dividend behind the 28 and repeat the process: 289 / 45

Advancing to step 3:
45 goes into 289 6 times with a remainder of 19.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 270 away from 289, we end up with 19.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 45

Advancing to step 4:
The number 45 fits into 198 4 times, leaving a remainder of 18.
Record the quotient 4 as the next digit in the result. 
Result so far: 64.0
Deduct 180 from 198 and we're left with 18.
Append the next digit (5) from the dividend to 18 and continue with: 185 / 45

Advancing to step 5:
185 divided by 45 is 4 with a remainder of 5.
The next digit of our result is 4. 
Result so far: 644.0
The remainder is 5 after subtracting 180 from 185.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 45

On to step 6:
58 divided by 45 is 1 with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 6441.0
If we take 45 away from 58, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 7:
45 goes into 130 2 times with a remainder of 40.
Record the quotient 2 as the next digit in the result. 
Result so far: 6441.2
Subtract 90 from 130 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.

On to step 8:
400 divided by 45 is 8 with a remainder of 40.
Put 8 as the next digit of the answer. 
Result so far: 6441.28
Subtracting 360 from 400 leaves us 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.

Moving on to step 9:
45 goes into 400 8 times with a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 6441.288
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.

The final result is 6441.288 with a remainder of 0.004.