12807257 divided by 398 
Let's see how many times 398 fits into 12807257.

On to step 1:
398 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 398

Going ahead to step 2:
When dividing 12 by 398, we get 0 with a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Append the next digit (8) from the dividend to 12 and continue with: 128 / 398

Advancing to step 3:
398 goes into 128 0 times with a remainder of 128.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 128, we end up with 128.
Take the next digit (0) from the dividend and append it to 128, then repeat: 1280 / 398

Going ahead to step 4:
398 can be fit into 1280 3 times, resulting in a remainder of 86.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 86 after subtracting 1194 from 1280.
Grab the next digit (7) from the dividend, add it to 86, then carry on: 867 / 398

Moving on to step 5:
867 divided by 398 is 2 with a remainder of 71.
Record the quotient 2 as the next digit in the result. 
Result so far: 32.0
If we take 796 away from 867, we end up with 71.
Include the next digit (2) from the dividend after 71, then repeat: 712 / 398

Going ahead to step 6:
398 can be fit into 712 1 times, resulting in a remainder of 314.
The next digit of our result is 1. 
Result so far: 321.0
Subtract 398 from 712 to get 314.
Grab the next digit (5) from the dividend, add it to 314, then carry on: 3145 / 398

Step 7:
The number 398 fits into 3145 7 times, leaving a remainder of 359.
The number 7 becomes the next digit in our result. 
Result so far: 3217.0
If we take 2786 away from 3145, we end up with 359.
Grab the next digit (7) from the dividend, add it to 359, then carry on: 3597 / 398

On to step 8:
398 can be fit into 3597 9 times, resulting in a remainder of 15.
Record the quotient 9 as the next digit in the result. 
Result so far: 32179.0
Subtract 3582 from 3597 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 9:
If we divide 150 by 398, we get 0 and a remainder of 150.
Write down 0 as next digit of the result. 
Result so far: 32179.0
The remainder is 150 after subtracting 0 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Going ahead to step 10:
398 goes into 1500 3 times with a remainder of 306.
The number 3 becomes the next digit in our result. 
Result so far: 32179.03
Subtract 1194 from 1500 to get 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Advancing to step 11:
3060 divided by 398 is 7 with a remainder of 274.
Record the quotient 7 as the next digit in the result. 
Result so far: 32179.037
The remainder is 274 after subtracting 2786 from 3060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Let's proceed to step 12:
398 goes into 2740 6 times with a remainder of 352.
The next digit of our result is 6. 
Result so far: 32179.0376
Deduct 2388 from 2740 and we're left with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Let's proceed to step 13:
398 goes into 3520 8 times with a remainder of 336.
Write down 8 as next digit of the result. 
Result so far: 32179.03768
Subtracting 3184 from 3520 leaves us with 336.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

Advancing to step 14:
398 goes into 3360 8 times with a remainder of 176.
Put 8 as the next digit of the answer. 
Result so far: 32179.037688
If we take 3184 away from 3360, we end up with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Our division results in 32179.037688 with a remaining 1.76e-05.