We divide 12087312 by 398
Our goal is to divide 12087312 by 398.

Advancing to step 1:
If we divide 1 by 398, we get 0 and 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.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 398

Step 2:
If we divide 12 by 398, we get 0 and a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Fetch the next digit (0) from the dividend, attach it to 12 and continue: 120 / 398

Moving on to step 3:
When dividing 120 by 398, we get 0 with a remainder of 120.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 120, we get 120.
Append the next digit (8) from the dividend to 120 and continue with: 1208 / 398

Step 4:
398 can be fit into 1208 3 times, resulting in a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 3.0
Deduct 1194 from 1208 and we're left with 14.
Grab the next digit (7) from the dividend, add it to 14, then carry on: 147 / 398

Let's proceed to step 5:
If we divide 147 by 398, we get 0 and a remainder of 147.
The number 0 becomes the next digit in our result. 
Result so far: 30.0
If we take 0 away from 147, we end up with 147.
Take the next digit (3) from the dividend and append it to 147, then repeat: 1473 / 398

Moving on to step 6:
1473 divided by 398 is 3 with a remainder of 279.
Record the quotient 3 as the next digit in the result. 
Result so far: 303.0
Subtract 1194 from 1473 to get 279.
Bring next digit (1) of the dividend behind the 279 and repeat the process: 2791 / 398

Step 7:
2791 divided by 398 is 7 with a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 3037.0
Deduct 2786 from 2791 and we're left with 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 398

Moving on to step 8:
52 divided by 398 is 0 with a remainder of 52.
The next digit of our result is 0. 
Result so far: 30370.0
The remainder is 52 after subtracting 0 from 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 9:
398 goes into 520 1 times with a remainder of 122.
Record the quotient 1 as the next digit in the result. 
Result so far: 30370.1
The remainder is 122 after subtracting 398 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Advancing to step 10:
When dividing 1220 by 398, we get 3 with a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 30370.13
If we subtract 1194 from 1220, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 11:
When dividing 260 by 398, we get 0 with a remainder of 260.
Put 0 as the next digit of the answer. 
Result so far: 30370.13
If we subtract 0 from 260, we get 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Advancing to step 12:
When dividing 2600 by 398, we get 6 with a remainder of 212.
Write down 6 as next digit of the result. 
Result so far: 30370.1306
If we subtract 2388 from 2600, we get 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Let's proceed to step 13:
When dividing 2120 by 398, we get 5 with a remainder of 130.
The number 5 becomes the next digit in our result. 
Result so far: 30370.13065
The remainder is 130 after subtracting 1990 from 2120.
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:
When dividing 1300 by 398, we get 3 with a remainder of 106.
Put 3 as the next digit of the answer. 
Result so far: 30370.130653
Deduct 1194 from 1300 and we're left with 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 15:
398 can be fit into 1060 2 times, resulting in a remainder of 264.
The number 2 becomes the next digit in our result. 
Result so far: 30370.1306532
The remainder is 264 after subtracting 796 from 1060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Let's proceed to step 16:
If we divide 2640 by 398, we get 6 and a remainder of 252.
Put 6 as the next digit of the answer. 
Result so far: 30370.13065326
The remainder is 252 after subtracting 2388 from 2640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

The final outcome is 30370.13065326, with a leftover of 2.52e-07.