We're dividing 12058738 by 790 
Our goal is to divide 12058738 by 790.

Moving on to step 1:
790 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 790

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

Advancing to step 3:
790 goes into 120 0 times with a remainder of 120.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 120, we end up with 120.
Bring next digit (5) of the dividend behind the 120 and repeat the process: 1205 / 790

Let's proceed to step 4:
If we divide 1205 by 790, we get 1 and a remainder of 415.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 790 from 1205 leaves us with 415.
Include the next digit (8) from the dividend after 415, then repeat: 4158 / 790

On to step 5:
When dividing 4158 by 790, we get 5 with a remainder of 208.
Put 5 as the next digit of the answer. 
Result so far: 15.0
If we subtract 3950 from 4158, we get 208.
Include the next digit (7) from the dividend after 208, then repeat: 2087 / 790

Moving on to step 6:
If we divide 2087 by 790, we get 2 and a remainder of 507.
The number 2 becomes the next digit in our result. 
Result so far: 152.0
If we take 1580 away from 2087, we end up with 507.
Include the next digit (3) from the dividend after 507, then repeat: 5073 / 790

Going ahead to step 7:
If we divide 5073 by 790, we get 6 and a remainder of 333.
Record the quotient 6 as the next digit in the result. 
Result so far: 1526.0
If we subtract 4740 from 5073, we get 333.
Append the next digit (8) from the dividend to 333 and continue with: 3338 / 790

Going ahead to step 8:
If we divide 3338 by 790, we get 4 and a remainder of 178.
The number 4 becomes the next digit in our result. 
Result so far: 15264.0
If we subtract 3160 from 3338, we get 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Going ahead to step 9:
The number 790 fits into 1780 2 times, leaving a remainder of 200.
Use 2 as the next digit of our solution. 
Result so far: 15264.2
Subtracting 1580 from 1780 leaves us with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Moving on to step 10:
790 can be fit into 2000 2 times, resulting in a remainder of 420.
Put 2 as the next digit of the answer. 
Result so far: 15264.22
Subtracting 1580 from 2000 leaves us with 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

The quotient of the division is 15264.22, and the remainder is 0.42.