64781 divided by 31 
We want to divide 64781 by 31.

Step 1:
31 can be fit into 6 0 times, resulting in a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Include the next digit (4) from the dividend after 6, then repeat: 64 / 31

Advancing to step 2:
The number 31 fits into 64 2 times, leaving a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 2 after subtracting 62 from 64.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 31

Let's proceed to step 3:
27 divided by 31 is 0 with a remainder of 27.
Use 0 as the next digit of our solution. 
Result so far: 20.0
Deduct 0 from 27 and we're left with 27.
Fetch the next digit (8) from the dividend, attach it to 27 and continue: 278 / 31

Moving on to step 4:
31 goes into 278 8 times with a remainder of 30.
Write down 8 as next digit of the result. 
Result so far: 208.0
Subtracting 248 from 278 leaves us with 30.
Append the next digit (1) from the dividend to 30 and continue with: 301 / 31

Going ahead to step 5:
The number 31 fits into 301 9 times, leaving a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 2089.0
Subtracting 279 from 301 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 6:
The number 31 fits into 220 7 times, leaving a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 2089.7
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
If we divide 30 by 31, we get 0 and a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 2089.7
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
When dividing 300 by 31, we get 9 with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 2089.709
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 9:
31 can be fit into 210 6 times, resulting in a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 2089.7096
Subtracting 186 from 210 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 10:
If we divide 240 by 31, we get 7 and a remainder of 23.
The next digit of our result is 7. 
Result so far: 2089.70967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 11:
If we divide 230 by 31, we get 7 and a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 2089.709677
Subtract 217 from 230 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final result is 2089.709677 with a remainder of 1.3e-06.