501988 ÷ 45 
Let's see how many times 45 fits into 501988.

Let's proceed to step 1:
45 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
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 / 45

Advancing to step 2:
The number 45 fits into 50 1 times, leaving a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 45 from 50 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 45

On to step 3:
When dividing 51 by 45, we get 1 with a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we subtract 45 from 51, we get 6.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 45

Let's proceed to step 4:
The number 45 fits into 69 1 times, leaving a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 111.0
If we subtract 45 from 69, we get 24.
Grab the next digit (8) from the dividend, add it to 24, then carry on: 248 / 45

Going ahead to step 5:
45 can be fit into 248 5 times, resulting in a remainder of 23.
Write down 5 as next digit of the result. 
Result so far: 1115.0
Subtracting 225 from 248 leaves us with 23.
Take the next digit (8) from the dividend and append it to 23, then repeat: 238 / 45

Advancing to step 6:
When dividing 238 by 45, we get 5 with a remainder of 13.
Use 5 as the next digit of our solution. 
Result so far: 11155.0
The remainder is 13 after subtracting 225 from 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
45 can be fit into 130 2 times, resulting in a remainder of 40.
Use 2 as the next digit of our solution. 
Result so far: 11155.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.

Advancing to step 8:
The number 45 fits into 400 8 times, leaving a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 11155.28
If we subtract 360 from 400, we 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.

Going ahead to step 9:
45 goes into 400 8 times with a remainder of 40.
Put 8 as the next digit of the answer. 
Result so far: 11155.288
The remainder is 40 after subtracting 360 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

After the division, we end up with 11155.288 and a remainder of 0.004.