Let's divide 506945 by 28
We want to divide 506945 by 28.

Let's proceed to step 1:
When dividing 5 by 28, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 28

On to step 2:
28 can be fit into 50 1 times, resulting in a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 28 away from 50, we end up with 22.
Bring next digit (6) of the dividend behind the 22 and repeat the process: 226 / 28

On to step 3:
If we divide 226 by 28, we get 8 and a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
Deduct 224 from 226 and we're left with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 28

Let's proceed to step 4:
29 divided by 28 is 1 with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 181.0
Deduct 28 from 29 and we're left with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 28

Step 5:
14 divided by 28 is 0 with a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 1810.0
If we take 0 away from 14, we end up with 14.
Append the next digit (5) from the dividend to 14 and continue with: 145 / 28

Going ahead to step 6:
28 goes into 145 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 18105.0
Subtracting 140 from 145 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 7:
50 divided by 28 is 1 with a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 18105.1
If we subtract 28 from 50, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
28 goes into 220 7 times with a remainder of 24.
The next digit of our result is 7. 
Result so far: 18105.17
If we take 196 away from 220, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 9:
28 goes into 240 8 times with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 18105.178
The remainder is 16 after subtracting 224 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 10:
If we divide 160 by 28, we get 5 and a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 18105.1785
Subtracting 140 from 160 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 11:
When dividing 200 by 28, we get 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 18105.17857
The remainder is 4 after subtracting 196 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 12:
28 goes into 40 1 times with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 18105.178571
Subtract 28 from 40 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
120 divided by 28 is 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 18105.1785714
Deduct 112 from 120 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 14:
If we divide 80 by 28, we get 2 and a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 18105.17857142
Subtracting 56 from 80 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

In conclusion, the division gives 18105.17857142 with a balance of 2.4e-08.