We're dividing 22726 by 45 
We want to divide 22726 by 45.

Step 1:
The number 45 fits into 2 0 times, leaving a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 45

On to step 2:
45 goes into 22 0 times with a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 22 after subtracting 0 from 22.
Fetch the next digit (7) from the dividend, attach it to 22 and continue: 227 / 45

On to step 3:
227 divided by 45 is 5 with a remainder of 2.
The next digit of our result is 5. 
Result so far: 5.0
Deduct 225 from 227 and we're left with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 45

Moving on to step 4:
22 divided by 45 is 0 with a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
Subtract 0 from 22 to get 22.
Fetch the next digit (6) from the dividend, attach it to 22 and continue: 226 / 45

Moving on to step 5:
The number 45 fits into 226 5 times, leaving a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 505.0
If we subtract 225 from 226, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 6:
45 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 505.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 7:
If we divide 100 by 45, we get 2 and a remainder of 10.
The next digit of our result is 2. 
Result so far: 505.02
If we take 90 away from 100, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
If we divide 100 by 45, we get 2 and a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 505.022
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The quotient of the division is 505.022, and the remainder is 0.001.