We're dividing 6140728 by 977 
Let's see how many times 977 fits into 6140728.

Step 1:
The number 977 fits into 6 0 times, leaving a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Take the next digit (1) from the dividend and append it to 6, then repeat: 61 / 977

Let's proceed to step 2:
977 goes into 61 0 times with a remainder of 61.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 61 to get 61.
Include the next digit (4) from the dividend after 61, then repeat: 614 / 977

Let's proceed to step 3:
614 divided by 977 is 0 with a remainder of 614.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 614 to get 614.
Fetch the next digit (0) from the dividend, attach it to 614 and continue: 6140 / 977

On to step 4:
6140 divided by 977 is 6 with a remainder of 278.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtract 5862 from 6140 to get 278.
Append the next digit (7) from the dividend to 278 and continue with: 2787 / 977

Advancing to step 5:
If we divide 2787 by 977, we get 2 and a remainder of 833.
Write down 2 as next digit of the result. 
Result so far: 62.0
Subtracting 1954 from 2787 leaves us with 833.
Grab the next digit (2) from the dividend, add it to 833, then carry on: 8332 / 977

Step 6:
977 goes into 8332 8 times with a remainder of 516.
Put 8 as the next digit of the answer. 
Result so far: 628.0
The remainder is 516 after subtracting 7816 from 8332.
Fetch the next digit (8) from the dividend, attach it to 516 and continue: 5168 / 977

Step 7:
977 can be fit into 5168 5 times, resulting in a remainder of 283.
Record the quotient 5 as the next digit in the result. 
Result so far: 6285.0
If we subtract 4885 from 5168, we get 283.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2830, and continue the process.

Advancing to step 8:
When dividing 2830 by 977, we get 2 with a remainder of 876.
The number 2 becomes the next digit in our result. 
Result so far: 6285.2
If we take 1954 away from 2830, we end up with 876.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8760, and continue the process.

On to step 9:
977 can be fit into 8760 8 times, resulting in a remainder of 944.
Put 8 as the next digit of the answer. 
Result so far: 6285.28
If we take 7816 away from 8760, we end up with 944.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9440, and continue the process.

Advancing to step 10:
When dividing 9440 by 977, we get 9 with a remainder of 647.
Use 9 as the next digit of our solution. 
Result so far: 6285.289
Deduct 8793 from 9440 and we're left with 647.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6470, and continue the process.

On to step 11:
If we divide 6470 by 977, we get 6 and a remainder of 608.
Write down 6 as next digit of the result. 
Result so far: 6285.2896
Subtract 5862 from 6470 to get 608.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6080, and continue the process.

Let's proceed to step 12:
6080 divided by 977 is 6 with a remainder of 218.
Use 6 as the next digit of our solution. 
Result so far: 6285.28966
Subtract 5862 from 6080 to get 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

The final result is 6285.28966 with a remainder of 0.000218.