We're dividing 10785862 by 398 
We're looking to find how many times 398 goes into 10785862.

On to step 1:
The number 398 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 398

On to step 2:
When dividing 10 by 398, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 10 to get 10.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 398

Moving on to step 3:
107 divided by 398 is 0 with a remainder of 107.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 107 to get 107.
Append the next digit (8) from the dividend to 107 and continue with: 1078 / 398

Moving on to step 4:
If we divide 1078 by 398, we get 2 and a remainder of 282.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 282 after subtracting 796 from 1078.
Bring next digit (5) of the dividend behind the 282 and repeat the process: 2825 / 398

Going ahead to step 5:
When dividing 2825 by 398, we get 7 with a remainder of 39.
Put 7 as the next digit of the answer. 
Result so far: 27.0
If we take 2786 away from 2825, we end up with 39.
Include the next digit (8) from the dividend after 39, then repeat: 398 / 398

Step 6:
398 divided by 398 is 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 271.0
The remainder is 0 after subtracting 398 from 398.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 398

Step 7:
398 can be fit into 6 0 times, resulting in a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 2710.0
If we subtract 0 from 6, we get 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 398

Moving on to step 8:
398 can be fit into 62 0 times, resulting in a remainder of 62.
Write down 0 as next digit of the result. 
Result so far: 27100.0
Subtract 0 from 62 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Let's proceed to step 9:
If we divide 620 by 398, we get 1 and a remainder of 222.
Write down 1 as next digit of the result. 
Result so far: 27100.1
Deduct 398 from 620 and we're left with 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Going ahead to step 10:
398 goes into 2220 5 times with a remainder of 230.
Use 5 as the next digit of our solution. 
Result so far: 27100.15
Subtracting 1990 from 2220 leaves us with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Going ahead to step 11:
If we divide 2300 by 398, we get 5 and a remainder of 310.
The next digit of our result is 5. 
Result so far: 27100.155
Subtracting 1990 from 2300 leaves us with 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

The final outcome is 27100.155, with a leftover of 0.031.