We divide 1998112 by 504
We're looking to find how many times 504 goes into 1998112.

On to step 1:
The number 504 fits into 1 0 times, leaving 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.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 504

Moving on to step 2:
When dividing 19 by 504, we get 0 with a remainder of 19.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 19, we end up with 19.
Fetch the next digit (9) from the dividend, attach it to 19 and continue: 199 / 504

Going ahead to step 3:
If we divide 199 by 504, we get 0 and a remainder of 199.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 199, we get 199.
Grab the next digit (8) from the dividend, add it to 199, then carry on: 1998 / 504

Going ahead to step 4:
504 can be fit into 1998 3 times, resulting in a remainder of 486.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 1512 from 1998 and we're left with 486.
Take the next digit (1) from the dividend and append it to 486, then repeat: 4861 / 504

Moving on to step 5:
504 can be fit into 4861 9 times, resulting in a remainder of 325.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
The remainder is 325 after subtracting 4536 from 4861.
Bring next digit (1) of the dividend behind the 325 and repeat the process: 3251 / 504

On to step 6:
504 can be fit into 3251 6 times, resulting in a remainder of 227.
Write down 6 as next digit of the result. 
Result so far: 396.0
If we subtract 3024 from 3251, we get 227.
Include the next digit (2) from the dividend after 227, then repeat: 2272 / 504

Let's proceed to step 7:
504 can be fit into 2272 4 times, resulting in a remainder of 256.
Write down 4 as next digit of the result. 
Result so far: 3964.0
Deduct 2016 from 2272 and we're left with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

On to step 8:
504 can be fit into 2560 5 times, resulting in a remainder of 40.
Write down 5 as next digit of the result. 
Result so far: 3964.5
The remainder is 40 after subtracting 2520 from 2560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 9:
The number 504 fits into 400 0 times, leaving a remainder of 400.
Write down 0 as next digit of the result. 
Result so far: 3964.5
Subtracting 0 from 400 leaves us with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Moving on to step 10:
504 goes into 4000 7 times with a remainder of 472.
The next digit of our result is 7. 
Result so far: 3964.507
If we take 3528 away from 4000, we end up with 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Advancing to step 11:
If we divide 4720 by 504, we get 9 and a remainder of 184.
Record the quotient 9 as the next digit in the result. 
Result so far: 3964.5079
Subtracting 4536 from 4720 leaves us with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Let's proceed to step 12:
1840 divided by 504 is 3 with a remainder of 328.
The next digit of our result is 3. 
Result so far: 3964.50793
The remainder is 328 after subtracting 1512 from 1840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Going ahead to step 13:
The number 504 fits into 3280 6 times, leaving a remainder of 256.
Put 6 as the next digit of the answer. 
Result so far: 3964.507936
If we take 3024 away from 3280, we end up with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

On to step 14:
If we divide 2560 by 504, we get 5 and a remainder of 40.
Put 5 as the next digit of the answer. 
Result so far: 3964.5079365
Subtract 2520 from 2560 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 15:
The number 504 fits into 400 0 times, leaving a remainder of 400.
Write down 0 as next digit of the result. 
Result so far: 3964.5079365
If we subtract 0 from 400, we get 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

In conclusion, the division gives 3964.5079365 with a balance of 4e-07.