Let's divide 18058474 by 842
Let's see how many times 842 fits into 18058474.

On to step 1:
When dividing 1 by 842, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 842

Let's proceed to step 2:
18 divided by 842 is 0 with a remainder of 18.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 18, we end up with 18.
Append the next digit (0) from the dividend to 18 and continue with: 180 / 842

Moving on to step 3:
When dividing 180 by 842, we get 0 with a remainder of 180.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 180 and we're left with 180.
Take the next digit (5) from the dividend and append it to 180, then repeat: 1805 / 842

On to step 4:
842 goes into 1805 2 times with a remainder of 121.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 1684 away from 1805, we end up with 121.
Include the next digit (8) from the dividend after 121, then repeat: 1218 / 842

On to step 5:
842 can be fit into 1218 1 times, resulting in a remainder of 376.
Use 1 as the next digit of our solution. 
Result so far: 21.0
If we take 842 away from 1218, we end up with 376.
Append the next digit (4) from the dividend to 376 and continue with: 3764 / 842

Moving on to step 6:
842 goes into 3764 4 times with a remainder of 396.
The next digit of our result is 4. 
Result so far: 214.0
If we subtract 3368 from 3764, we get 396.
Include the next digit (7) from the dividend after 396, then repeat: 3967 / 842

Let's proceed to step 7:
3967 divided by 842 is 4 with a remainder of 599.
The number 4 becomes the next digit in our result. 
Result so far: 2144.0
Subtracting 3368 from 3967 leaves us with 599.
Bring next digit (4) of the dividend behind the 599 and repeat the process: 5994 / 842

Advancing to step 8:
When dividing 5994 by 842, we get 7 with a remainder of 100.
Put 7 as the next digit of the answer. 
Result so far: 21447.0
If we subtract 5894 from 5994, we get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Let's proceed to step 9:
842 goes into 1000 1 times with a remainder of 158.
Use 1 as the next digit of our solution. 
Result so far: 21447.1
If we subtract 842 from 1000, we get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

On to step 10:
842 can be fit into 1580 1 times, resulting in a remainder of 738.
Put 1 as the next digit of the answer. 
Result so far: 21447.11
Deduct 842 from 1580 and we're left with 738.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7380, and continue the process.

After the division, we end up with 21447.11 and a remainder of 0.738.