We're dividing 3598504 by 398 
Let's see how many times 398 fits into 3598504.

Going ahead to step 1:
The number 398 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (5) from the dividend and append it to 3, then repeat: 35 / 398

Going ahead to step 2:
The number 398 fits into 35 0 times, leaving a remainder of 35.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 35 after subtracting 0 from 35.
Append the next digit (9) from the dividend to 35 and continue with: 359 / 398

Moving on to step 3:
398 can be fit into 359 0 times, resulting in a remainder of 359.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 359 after subtracting 0 from 359.
Include the next digit (8) from the dividend after 359, then repeat: 3598 / 398

Going ahead to step 4:
3598 divided by 398 is 9 with a remainder of 16.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Subtracting 3582 from 3598 leaves us with 16.
Bring next digit (5) of the dividend behind the 16 and repeat the process: 165 / 398

Moving on to step 5:
When dividing 165 by 398, we get 0 with a remainder of 165.
Write down 0 as next digit of the result. 
Result so far: 90.0
Subtract 0 from 165 to get 165.
Take the next digit (0) from the dividend and append it to 165, then repeat: 1650 / 398

On to step 6:
398 goes into 1650 4 times with a remainder of 58.
Use 4 as the next digit of our solution. 
Result so far: 904.0
Subtracting 1592 from 1650 leaves us with 58.
Include the next digit (4) from the dividend after 58, then repeat: 584 / 398

Let's proceed to step 7:
If we divide 584 by 398, we get 1 and a remainder of 186.
Put 1 as the next digit of the answer. 
Result so far: 9041.0
The remainder is 186 after subtracting 398 from 584.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

Going ahead to step 8:
1860 divided by 398 is 4 with a remainder of 268.
Write down 4 as next digit of the result. 
Result so far: 9041.4
Subtracting 1592 from 1860 leaves us with 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Step 9:
If we divide 2680 by 398, we get 6 and a remainder of 292.
Write down 6 as next digit of the result. 
Result so far: 9041.46
If we take 2388 away from 2680, we end up with 292.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2920, and continue the process.

Advancing to step 10:
398 goes into 2920 7 times with a remainder of 134.
Put 7 as the next digit of the answer. 
Result so far: 9041.467
If we take 2786 away from 2920, we end up with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

On to step 11:
When dividing 1340 by 398, we get 3 with a remainder of 146.
Put 3 as the next digit of the answer. 
Result so far: 9041.4673
Deduct 1194 from 1340 and we're left with 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Moving on to step 12:
1460 divided by 398 is 3 with a remainder of 266.
Write down 3 as next digit of the result. 
Result so far: 9041.46733
Deduct 1194 from 1460 and we're left with 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

The final outcome is 9041.46733, with a leftover of 0.000266.