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

Let's proceed to step 1:
1 divided by 31 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 31

Going ahead to step 2:
31 goes into 11 0 times with a remainder of 11.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 11 and we're left with 11.
Fetch the next digit (8) from the dividend, attach it to 11 and continue: 118 / 31

Let's proceed to step 3:
If we divide 118 by 31, we get 3 and a remainder of 25.
The next digit of our result is 3. 
Result so far: 3.0
Subtracting 93 from 118 leaves us with 25.
Take the next digit (9) from the dividend and append it to 25, then repeat: 259 / 31

Going ahead to step 4:
When dividing 259 by 31, we get 8 with a remainder of 11.
Record the quotient 8 as the next digit in the result. 
Result so far: 38.0
The remainder is 11 after subtracting 248 from 259.
Include the next digit (9) from the dividend after 11, then repeat: 119 / 31

Advancing to step 5:
The number 31 fits into 119 3 times, leaving a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 383.0
Subtracting 93 from 119 leaves us with 26.
Grab the next digit (6) from the dividend, add it to 26, then carry on: 266 / 31

Moving on to step 6:
31 goes into 266 8 times with a remainder of 18.
The next digit of our result is 8. 
Result so far: 3838.0
Deduct 248 from 266 and we're left 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.

Moving on to step 7:
When dividing 180 by 31, we get 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 3838.5
Subtracting 155 from 180 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 8:
31 goes into 250 8 times with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 3838.58
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 9:
31 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 3838.58
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 10:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 3838.5806
Deduct 186 from 200 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 11:
When dividing 140 by 31, we get 4 with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 3838.58064
The remainder is 16 after subtracting 124 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 12:
The number 31 fits into 160 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 3838.580645
If we subtract 155 from 160, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 13:
31 can be fit into 50 1 times, resulting in a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 3838.5806451
Deduct 31 from 50 and we're left with 19.
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 14:
When dividing 190 by 31, we get 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 3838.58064516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 3838.58064516 with a remainder of 4e-09.