We're dividing 764642 by 31 
Let's see how many times 31 fits into 764642.

Let's proceed to step 1:
When dividing 7 by 31, we get 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Take the next digit (6) from the dividend and append it to 7, then repeat: 76 / 31

Going ahead to step 2:
31 goes into 76 2 times with a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 14 after subtracting 62 from 76.
Append the next digit (4) from the dividend to 14 and continue with: 144 / 31

Moving on to step 3:
If we divide 144 by 31, we get 4 and a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
If we subtract 124 from 144, we get 20.
Append the next digit (6) from the dividend to 20 and continue with: 206 / 31

Going ahead to step 4:
The number 31 fits into 206 6 times, leaving a remainder of 20.
The number 6 becomes the next digit in our result. 
Result so far: 246.0
The remainder is 20 after subtracting 186 from 206.
Bring next digit (4) of the dividend behind the 20 and repeat the process: 204 / 31

Going ahead to step 5:
When dividing 204 by 31, we get 6 with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 2466.0
Subtracting 186 from 204 leaves us with 18.
Include the next digit (2) from the dividend after 18, then repeat: 182 / 31

Going ahead to step 6:
The number 31 fits into 182 5 times, leaving a remainder of 27.
Put 5 as the next digit of the answer. 
Result so far: 24665.0
Subtract 155 from 182 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 7:
31 can be fit into 270 8 times, resulting in a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 24665.8
Deduct 248 from 270 and we're left 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 8:
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: 24665.87
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.

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

Step 10:
31 goes into 300 9 times with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 24665.8709
Subtracting 279 from 300 leaves us 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 11:
If we divide 210 by 31, we get 6 and a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 24665.87096
If we take 186 away from 210, we end up 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 12:
240 divided by 31 is 7 with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 24665.870967
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.

Step 13:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 24665.8709677
If we take 217 away from 230, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

In conclusion, the division gives 24665.8709677 with a balance of 1.3e-07.