Let's divide 31717912 by 321
We want to divide 31717912 by 321.

On to step 1:
321 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 321

Moving on to step 2:
If we divide 31 by 321, we get 0 and a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 321

Let's proceed to step 3:
317 divided by 321 is 0 with a remainder of 317.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 317 to get 317.
Grab the next digit (1) from the dividend, add it to 317, then carry on: 3171 / 321

Going ahead to step 4:
3171 divided by 321 is 9 with a remainder of 282.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we take 2889 away from 3171, we end up with 282.
Take the next digit (7) from the dividend and append it to 282, then repeat: 2827 / 321

Advancing to step 5:
The number 321 fits into 2827 8 times, leaving a remainder of 259.
Write down 8 as next digit of the result. 
Result so far: 98.0
Subtract 2568 from 2827 to get 259.
Append the next digit (9) from the dividend to 259 and continue with: 2599 / 321

On to step 6:
2599 divided by 321 is 8 with a remainder of 31.
Record the quotient 8 as the next digit in the result. 
Result so far: 988.0
Deduct 2568 from 2599 and we're left with 31.
Include the next digit (1) from the dividend after 31, then repeat: 311 / 321

Advancing to step 7:
321 goes into 311 0 times with a remainder of 311.
The number 0 becomes the next digit in our result. 
Result so far: 9880.0
Subtracting 0 from 311 leaves us with 311.
Grab the next digit (2) from the dividend, add it to 311, then carry on: 3112 / 321

Let's proceed to step 8:
The number 321 fits into 3112 9 times, leaving a remainder of 223.
The number 9 becomes the next digit in our result. 
Result so far: 98809.0
Subtracting 2889 from 3112 leaves us with 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2230, and continue the process.

Moving on to step 9:
When dividing 2230 by 321, we get 6 with a remainder of 304.
Put 6 as the next digit of the answer. 
Result so far: 98809.6
Deduct 1926 from 2230 and we're left with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Going ahead to step 10:
When dividing 3040 by 321, we get 9 with a remainder of 151.
Use 9 as the next digit of our solution. 
Result so far: 98809.69
If we subtract 2889 from 3040, we get 151.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1510, and continue the process.

On to step 11:
1510 divided by 321 is 4 with a remainder of 226.
Record the quotient 4 as the next digit in the result. 
Result so far: 98809.694
Subtract 1284 from 1510 to get 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Step 12:
321 goes into 2260 7 times with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 98809.6947
Deduct 2247 from 2260 and we're left 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.

Let's proceed to step 13:
When dividing 130 by 321, we get 0 with a remainder of 130.
The next digit of our result is 0. 
Result so far: 98809.6947
The remainder is 130 after subtracting 0 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Let's proceed to step 14:
The number 321 fits into 1300 4 times, leaving a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 98809.694704
If we take 1284 away from 1300, we end up with 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 15:
160 divided by 321 is 0 with a remainder of 160.
Write down 0 as next digit of the result. 
Result so far: 98809.694704
Subtract 0 from 160 to get 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

On to step 16:
If we divide 1600 by 321, we get 4 and a remainder of 316.
Write down 4 as next digit of the result. 
Result so far: 98809.69470404
The remainder is 316 after subtracting 1284 from 1600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

The final result is 98809.69470404 with a remainder of 3.16e-07.