We divide 504779 by 90
We want to divide 504779 by 90.

On to step 1:
90 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 90

Advancing to step 2:
90 goes into 50 0 times with a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Take the next digit (4) from the dividend and append it to 50, then repeat: 504 / 90

Moving on to step 3:
90 goes into 504 5 times with a remainder of 54.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 54 after subtracting 450 from 504.
Append the next digit (7) from the dividend to 54 and continue with: 547 / 90

Going ahead to step 4:
90 can be fit into 547 6 times, resulting in a remainder of 7.
Record the quotient 6 as the next digit in the result. 
Result so far: 56.0
The remainder is 7 after subtracting 540 from 547.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 90

On to step 5:
When dividing 77 by 90, we get 0 with a remainder of 77.
The next digit of our result is 0. 
Result so far: 560.0
Subtract 0 from 77 to get 77.
Append the next digit (9) from the dividend to 77 and continue with: 779 / 90

Moving on to step 6:
779 divided by 90 is 8 with a remainder of 59.
Put 8 as the next digit of the answer. 
Result so far: 5608.0
If we take 720 away from 779, we end up with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

On to step 7:
If we divide 590 by 90, we get 6 and a remainder of 50.
Use 6 as the next digit of our solution. 
Result so far: 5608.6
If we subtract 540 from 590, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 8:
If we divide 500 by 90, we get 5 and a remainder of 50.
Put 5 as the next digit of the answer. 
Result so far: 5608.65
Deduct 450 from 500 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 9:
When dividing 500 by 90, we get 5 with a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 5608.655
If we take 450 away from 500, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

The quotient of the division is 5608.655, and the remainder is 0.005.