We look at the division of 271254 by 5 
We're looking to find how many times 5 goes into 271254.

Going ahead to step 1:
When dividing 2 by 5, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 5

On to step 2:
The number 5 fits into 27 5 times, leaving a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 25 from 27 and we're left with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 5

Step 3:
The number 5 fits into 21 4 times, leaving a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 54.0
The remainder is 1 after subtracting 20 from 21.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 5

Step 4:
When dividing 12 by 5, we get 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 542.0
Subtracting 10 from 12 leaves us with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 5

On to step 5:
5 goes into 25 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 5425.0
Deduct 25 from 25 and we're left with 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 5

Moving on to step 6:
The number 5 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 54250.0
The remainder is 4 after subtracting 0 from 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 7:
The number 5 fits into 40 8 times, leaving a remainder of 0.
The next digit of our result is 8. 
Result so far: 54250.8
If we take 40 away from 40, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 54250.8
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 54250.8
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 54250.8 with a remainder of 0.0.