We divide 297842 by 12
Let's see how many times 12 fits into 297842.

Let's proceed to step 1:
When dividing 2 by 12, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 12

Going ahead to step 2:
The number 12 fits into 29 2 times, leaving a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 24 from 29 to get 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 12

On to step 3:
The number 12 fits into 57 4 times, leaving a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
Deduct 48 from 57 and we're left with 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 12

Let's proceed to step 4:
If we divide 98 by 12, we get 8 and a remainder of 2.
The next digit of our result is 8. 
Result so far: 248.0
If we subtract 96 from 98, we get 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 12

Let's proceed to step 5:
If we divide 24 by 12, we get 2 and a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 2482.0
Subtract 24 from 24 to get 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 12

Let's proceed to step 6:
2 divided by 12 is 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 24820.0
Deduct 0 from 2 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
If we divide 20 by 12, we get 1 and a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 24820.1
If we take 12 away from 20, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 8:
80 divided by 12 is 6 with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 24820.16
Deduct 72 from 80 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 9:
12 can be fit into 80 6 times, resulting in a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 24820.166
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 24820.166, and the remainder is 0.0008.