We look at the division of 12237058 by 642 
We want to divide 12237058 by 642.

Going ahead to step 1:
642 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 642

Advancing to step 2:
12 divided by 642 is 0 with a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Include the next digit (2) from the dividend after 12, then repeat: 122 / 642

Advancing to step 3:
If we divide 122 by 642, we get 0 and a remainder of 122.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 122 and we're left with 122.
Fetch the next digit (3) from the dividend, attach it to 122 and continue: 1223 / 642

Going ahead to step 4:
When dividing 1223 by 642, we get 1 with a remainder of 581.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 642 from 1223, we get 581.
Take the next digit (7) from the dividend and append it to 581, then repeat: 5817 / 642

Going ahead to step 5:
The number 642 fits into 5817 9 times, leaving a remainder of 39.
The next digit of our result is 9. 
Result so far: 19.0
Subtracting 5778 from 5817 leaves us with 39.
Grab the next digit (0) from the dividend, add it to 39, then carry on: 390 / 642

Let's proceed to step 6:
642 can be fit into 390 0 times, resulting in a remainder of 390.
The number 0 becomes the next digit in our result. 
Result so far: 190.0
Subtract 0 from 390 to get 390.
Include the next digit (5) from the dividend after 390, then repeat: 3905 / 642

Step 7:
3905 divided by 642 is 6 with a remainder of 53.
The number 6 becomes the next digit in our result. 
Result so far: 1906.0
Subtract 3852 from 3905 to get 53.
Append the next digit (8) from the dividend to 53 and continue with: 538 / 642

On to step 8:
If we divide 538 by 642, we get 0 and a remainder of 538.
Record the quotient 0 as the next digit in the result. 
Result so far: 19060.0
If we subtract 0 from 538, we get 538.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5380, and continue the process.

Advancing to step 9:
5380 divided by 642 is 8 with a remainder of 244.
The next digit of our result is 8. 
Result so far: 19060.8
Deduct 5136 from 5380 and we're left with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Step 10:
The number 642 fits into 2440 3 times, leaving a remainder of 514.
Put 3 as the next digit of the answer. 
Result so far: 19060.83
Subtracting 1926 from 2440 leaves us with 514.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5140, and continue the process.

On to step 11:
642 can be fit into 5140 8 times, resulting in a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 19060.838
Subtract 5136 from 5140 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 12:
40 divided by 642 is 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 19060.838
Deduct 0 from 40 and we're left with 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 13:
400 divided by 642 is 0 with a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 19060.838
Subtract 0 from 400 to 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 19060.838 with a balance of 0.0004.