We're dividing 31150748 by 338 
Our goal is to divide 31150748 by 338.

Moving on to step 1:
338 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
If we take 0 away from 3, we end up with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 338

Let's proceed to step 2:
The number 338 fits into 31 0 times, leaving a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 338

Let's proceed to step 3:
If we divide 311 by 338, we get 0 and a remainder of 311.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 311 and we're left with 311.
Include the next digit (5) from the dividend after 311, then repeat: 3115 / 338

On to step 4:
338 goes into 3115 9 times with a remainder of 73.
The next digit of our result is 9. 
Result so far: 9.0
If we take 3042 away from 3115, we end up with 73.
Bring next digit (0) of the dividend behind the 73 and repeat the process: 730 / 338

Going ahead to step 5:
When dividing 730 by 338, we get 2 with a remainder of 54.
The next digit of our result is 2. 
Result so far: 92.0
The remainder is 54 after subtracting 676 from 730.
Include the next digit (7) from the dividend after 54, then repeat: 547 / 338

Moving on to step 6:
When dividing 547 by 338, we get 1 with a remainder of 209.
Record the quotient 1 as the next digit in the result. 
Result so far: 921.0
If we take 338 away from 547, we end up with 209.
Append the next digit (4) from the dividend to 209 and continue with: 2094 / 338

Going ahead to step 7:
338 can be fit into 2094 6 times, resulting in a remainder of 66.
Write down 6 as next digit of the result. 
Result so far: 9216.0
If we take 2028 away from 2094, we end up with 66.
Append the next digit (8) from the dividend to 66 and continue with: 668 / 338

Going ahead to step 8:
338 goes into 668 1 times with a remainder of 330.
Write down 1 as next digit of the result. 
Result so far: 92161.0
Subtract 338 from 668 to get 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

Moving on to step 9:
The number 338 fits into 3300 9 times, leaving a remainder of 258.
Put 9 as the next digit of the answer. 
Result so far: 92161.9
If we take 3042 away from 3300, we end up with 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

Advancing to step 10:
338 goes into 2580 7 times with a remainder of 214.
Put 7 as the next digit of the answer. 
Result so far: 92161.97
Subtracting 2366 from 2580 leaves us with 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Step 11:
If we divide 2140 by 338, we get 6 and a remainder of 112.
Use 6 as the next digit of our solution. 
Result so far: 92161.976
If we take 2028 away from 2140, we end up with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Moving on to step 12:
If we divide 1120 by 338, we get 3 and a remainder of 106.
The next digit of our result is 3. 
Result so far: 92161.9763
If we subtract 1014 from 1120, we get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Step 13:
The number 338 fits into 1060 3 times, leaving a remainder of 46.
Record the quotient 3 as the next digit in the result. 
Result so far: 92161.97633
If we take 1014 away from 1060, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

In conclusion, the division gives 92161.97633 with a balance of 4.6e-05.