Let's divide 174821 by 45
Let's see how many times 45 fits into 174821.

Advancing to step 1:
45 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 45

Advancing to step 2:
When dividing 17 by 45, we get 0 with a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 17 after subtracting 0 from 17.
Bring next digit (4) of the dividend behind the 17 and repeat the process: 174 / 45

Going ahead to step 3:
The number 45 fits into 174 3 times, leaving a remainder of 39.
Write down 3 as next digit of the result. 
Result so far: 3.0
Deduct 135 from 174 and we're left with 39.
Bring next digit (8) of the dividend behind the 39 and repeat the process: 398 / 45

Going ahead to step 4:
If we divide 398 by 45, we get 8 and a remainder of 38.
Use 8 as the next digit of our solution. 
Result so far: 38.0
Deduct 360 from 398 and we're left with 38.
Bring next digit (2) of the dividend behind the 38 and repeat the process: 382 / 45

Advancing to step 5:
45 goes into 382 8 times with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 388.0
If we take 360 away from 382, we end up with 22.
Append the next digit (1) from the dividend to 22 and continue with: 221 / 45

On to step 6:
45 can be fit into 221 4 times, resulting in a remainder of 41.
Record the quotient 4 as the next digit in the result. 
Result so far: 3884.0
If we subtract 180 from 221, we get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Step 7:
45 goes into 410 9 times with a remainder of 5.
The number 9 becomes the next digit in our result. 
Result so far: 3884.9
Deduct 405 from 410 and we're left 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.

Step 8:
50 divided by 45 is 1 with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 3884.91
Deduct 45 from 50 and we're left 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.

Step 9:
When dividing 50 by 45, we get 1 with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 3884.911
The remainder is 5 after subtracting 45 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final outcome is 3884.911, with a leftover of 0.0005.