We're dividing 126397 by 5 
We want to figure out the number of times 126397 can be divided by 5.

Let's proceed to step 1:
5 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
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 5

On to step 2:
When dividing 12 by 5, we get 2 with a remainder of 2.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 2 after subtracting 10 from 12.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 5

On to step 3:
5 goes into 26 5 times with a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
Deduct 25 from 26 and we're left with 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 5

Let's proceed to step 4:
13 divided by 5 is 2 with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 252.0
The remainder is 3 after subtracting 10 from 13.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 5

Moving on to step 5:
If we divide 39 by 5, we get 7 and a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 2527.0
Subtract 35 from 39 to get 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 5

Advancing to step 6:
If we divide 47 by 5, we get 9 and a remainder of 2.
The next digit of our result is 9. 
Result so far: 25279.0
If we subtract 45 from 47, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
The number 5 fits into 20 4 times, leaving a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 25279.4
Deduct 20 from 20 and we're left 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.

Going ahead to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 25279.4
Subtracting 0 from 0 leaves us 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 9:
0 divided by 5 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 25279.4
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.

Our division results in 25279.4 with a remaining 0.0.