103797 divided by 31 
Our goal is to divide 103797 by 31.

On to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 31

On to step 2:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 10 after subtracting 0 from 10.
Include the next digit (3) from the dividend after 10, then repeat: 103 / 31

Going ahead to step 3:
31 can be fit into 103 3 times, resulting in a remainder of 10.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 93 from 103 and we're left with 10.
Fetch the next digit (7) from the dividend, attach it to 10 and continue: 107 / 31

Step 4:
107 divided by 31 is 3 with a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 33.0
If we subtract 93 from 107, we get 14.
Take the next digit (9) from the dividend and append it to 14, then repeat: 149 / 31

Advancing to step 5:
31 goes into 149 4 times with a remainder of 25.
The number 4 becomes the next digit in our result. 
Result so far: 334.0
Subtracting 124 from 149 leaves us with 25.
Take the next digit (7) from the dividend and append it to 25, then repeat: 257 / 31

Going ahead to step 6:
The number 31 fits into 257 8 times, leaving a remainder of 9.
The number 8 becomes the next digit in our result. 
Result so far: 3348.0
If we take 248 away from 257, we end up 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.

Advancing to step 7:
If we divide 90 by 31, we get 2 and a remainder of 28.
The next digit of our result is 2. 
Result so far: 3348.2
Deduct 62 from 90 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 8:
When dividing 280 by 31, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 3348.29
Subtracting 279 from 280 leaves us 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.

On to step 9:
If we divide 10 by 31, we get 0 and a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 3348.29
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 10:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 3348.2903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

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

Advancing to step 12:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 3348.290322
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final result is 3348.290322 with a remainder of 1.8e-06.