Let's divide 332770 by 31
Our goal is to divide 332770 by 31.

Moving on to step 1:
When dividing 3 by 31, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 31

Advancing to step 2:
31 can be fit into 33 1 times, resulting in a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 31 from 33 leaves us with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 31

Moving on to step 3:
When dividing 22 by 31, we get 0 with a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we subtract 0 from 22, we get 22.
Take the next digit (7) from the dividend and append it to 22, then repeat: 227 / 31

On to step 4:
The number 31 fits into 227 7 times, leaving a remainder of 10.
Use 7 as the next digit of our solution. 
Result so far: 107.0
If we take 217 away from 227, we end up with 10.
Bring next digit (7) of the dividend behind the 10 and repeat the process: 107 / 31

Going ahead to step 5:
The number 31 fits into 107 3 times, leaving a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 1073.0
Subtract 93 from 107 to get 14.
Append the next digit (0) from the dividend to 14 and continue with: 140 / 31

Moving on to step 6:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The next digit of our result is 4. 
Result so far: 10734.0
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 7:
If we divide 160 by 31, we get 5 and a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 10734.5
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 8:
The number 31 fits into 50 1 times, leaving a remainder of 19.
The next digit of our result is 1. 
Result so far: 10734.51
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 9:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 10734.516
If we take 186 away from 190, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 10:
When dividing 40 by 31, we get 1 with a remainder of 9.
The next digit of our result is 1. 
Result so far: 10734.5161
Subtracting 31 from 40 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 11:
If we divide 90 by 31, we get 2 and a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 10734.51612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 12:
When dividing 280 by 31, we get 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 10734.516129
If we take 279 away from 280, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 13:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 10734.516129
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 14:
31 goes into 100 3 times with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 10734.51612903
Subtracting 93 from 100 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final outcome is 10734.51612903, with a leftover of 7e-09.