We're dividing 127801 by 45 
We're looking to find how many times 45 goes into 127801.

Let's proceed to step 1:
45 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 45

Let's proceed to step 2:
12 divided by 45 is 0 with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Fetch the next digit (7) from the dividend, attach it to 12 and continue: 127 / 45

Step 3:
45 goes into 127 2 times with a remainder of 37.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 37 after subtracting 90 from 127.
Fetch the next digit (8) from the dividend, attach it to 37 and continue: 378 / 45

On to step 4:
If we divide 378 by 45, we get 8 and a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 28.0
Subtracting 360 from 378 leaves us with 18.
Append the next digit (0) from the dividend to 18 and continue with: 180 / 45

Moving on to step 5:
When dividing 180 by 45, we get 4 with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 284.0
If we subtract 180 from 180, we get 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 45

Moving on to step 6:
45 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 2840.0
If we take 0 away from 1, we end up with 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 7:
When dividing 10 by 45, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 2840.0
Subtracting 0 from 10 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.

On to step 8:
45 goes into 100 2 times with a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 2840.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.

Step 9:
45 can be fit into 100 2 times, resulting in a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 2840.022
Subtract 90 from 100 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.

After the division, we end up with 2840.022 and a remainder of 0.001.