We look at the division of 42158245 by 540 
We're looking to find how many times 540 goes into 42158245.

Advancing to step 1:
540 can be fit into 4 0 times, resulting in a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 540

On to step 2:
42 divided by 540 is 0 with a remainder of 42.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 42, we get 42.
Take the next digit (1) from the dividend and append it to 42, then repeat: 421 / 540

Step 3:
If we divide 421 by 540, we get 0 and a remainder of 421.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 421 after subtracting 0 from 421.
Include the next digit (5) from the dividend after 421, then repeat: 4215 / 540

Step 4:
4215 divided by 540 is 7 with a remainder of 435.
The next digit of our result is 7. 
Result so far: 7.0
The remainder is 435 after subtracting 3780 from 4215.
Include the next digit (8) from the dividend after 435, then repeat: 4358 / 540

Step 5:
The number 540 fits into 4358 8 times, leaving a remainder of 38.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
Subtract 4320 from 4358 to get 38.
Take the next digit (2) from the dividend and append it to 38, then repeat: 382 / 540

On to step 6:
The number 540 fits into 382 0 times, leaving a remainder of 382.
Write down 0 as next digit of the result. 
Result so far: 780.0
Subtracting 0 from 382 leaves us with 382.
Include the next digit (4) from the dividend after 382, then repeat: 3824 / 540

Step 7:
When dividing 3824 by 540, we get 7 with a remainder of 44.
Put 7 as the next digit of the answer. 
Result so far: 7807.0
If we subtract 3780 from 3824, we get 44.
Bring next digit (5) of the dividend behind the 44 and repeat the process: 445 / 540

Moving on to step 8:
The number 540 fits into 445 0 times, leaving a remainder of 445.
Write down 0 as next digit of the result. 
Result so far: 78070.0
The remainder is 445 after subtracting 0 from 445.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

Step 9:
When dividing 4450 by 540, we get 8 with a remainder of 130.
Put 8 as the next digit of the answer. 
Result so far: 78070.8
Subtract 4320 from 4450 to get 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Moving on to step 10:
540 can be fit into 1300 2 times, resulting in a remainder of 220.
Put 2 as the next digit of the answer. 
Result so far: 78070.82
The remainder is 220 after subtracting 1080 from 1300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

On to step 11:
The number 540 fits into 2200 4 times, leaving a remainder of 40.
Put 4 as the next digit of the answer. 
Result so far: 78070.824
Deduct 2160 from 2200 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.

Step 12:
If we divide 400 by 540, we get 0 and a remainder of 400.
The number 0 becomes the next digit in our result. 
Result so far: 78070.824
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.

Advancing to step 13:
When dividing 4000 by 540, we get 7 with a remainder of 220.
The number 7 becomes the next digit in our result. 
Result so far: 78070.82407
Deduct 3780 from 4000 and we're left with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

On to step 14:
If we divide 2200 by 540, we get 4 and a remainder of 40.
Put 4 as the next digit of the answer. 
Result so far: 78070.824074
Deduct 2160 from 2200 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.

On to step 15:
When dividing 400 by 540, we get 0 with a remainder of 400.
Use 0 as the next digit of our solution. 
Result so far: 78070.824074
If we take 0 away from 400, we end up 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.

Advancing to step 16:
When dividing 4000 by 540, we get 7 with a remainder of 220.
The number 7 becomes the next digit in our result. 
Result so far: 78070.82407407
Subtract 3780 from 4000 to get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Our division results in 78070.82407407 with a remaining 2.2e-07.