We're dividing 22935285 by 542 
We want to divide 22935285 by 542.

Step 1:
If we divide 2 by 542, we get 0 and a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 542

Moving on to step 2:
542 goes into 22 0 times with a remainder of 22.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 22 after subtracting 0 from 22.
Take the next digit (9) from the dividend and append it to 22, then repeat: 229 / 542

On to step 3:
229 divided by 542 is 0 with a remainder of 229.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 229, we get 229.
Include the next digit (3) from the dividend after 229, then repeat: 2293 / 542

Going ahead to step 4:
If we divide 2293 by 542, we get 4 and a remainder of 125.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 2168 from 2293 and we're left with 125.
Append the next digit (5) from the dividend to 125 and continue with: 1255 / 542

Let's proceed to step 5:
When dividing 1255 by 542, we get 2 with a remainder of 171.
Record the quotient 2 as the next digit in the result. 
Result so far: 42.0
Subtracting 1084 from 1255 leaves us with 171.
Fetch the next digit (2) from the dividend, attach it to 171 and continue: 1712 / 542

On to step 6:
The number 542 fits into 1712 3 times, leaving a remainder of 86.
Record the quotient 3 as the next digit in the result. 
Result so far: 423.0
The remainder is 86 after subtracting 1626 from 1712.
Include the next digit (8) from the dividend after 86, then repeat: 868 / 542

On to step 7:
The number 542 fits into 868 1 times, leaving a remainder of 326.
Record the quotient 1 as the next digit in the result. 
Result so far: 4231.0
The remainder is 326 after subtracting 542 from 868.
Append the next digit (5) from the dividend to 326 and continue with: 3265 / 542

Moving on to step 8:
542 can be fit into 3265 6 times, resulting in a remainder of 13.
Write down 6 as next digit of the result. 
Result so far: 42316.0
Subtracting 3252 from 3265 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 9:
542 can be fit into 130 0 times, resulting in a remainder of 130.
Use 0 as the next digit of our solution. 
Result so far: 42316.0
Subtract 0 from 130 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.

Going ahead to step 10:
542 can be fit into 1300 2 times, resulting in a remainder of 216.
Write down 2 as next digit of the result. 
Result so far: 42316.02
Subtracting 1084 from 1300 leaves us with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Let's proceed to step 11:
The number 542 fits into 2160 3 times, leaving a remainder of 534.
Write down 3 as next digit of the result. 
Result so far: 42316.023
Subtract 1626 from 2160 to get 534.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5340, and continue the process.

On to step 12:
542 goes into 5340 9 times with a remainder of 462.
Write down 9 as next digit of the result. 
Result so far: 42316.0239
If we take 4878 away from 5340, we end up with 462.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Step 13:
The number 542 fits into 4620 8 times, leaving a remainder of 284.
The number 8 becomes the next digit in our result. 
Result so far: 42316.02398
Subtracting 4336 from 4620 leaves us with 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

On to step 14:
If we divide 2840 by 542, we get 5 and a remainder of 130.
Put 5 as the next digit of the answer. 
Result so far: 42316.023985
Subtract 2710 from 2840 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.

Advancing to step 15:
542 can be fit into 1300 2 times, resulting in a remainder of 216.
The number 2 becomes the next digit in our result. 
Result so far: 42316.0239852
If we take 1084 away from 1300, we end up with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Moving on to step 16:
When dividing 2160 by 542, we get 3 with a remainder of 534.
Put 3 as the next digit of the answer. 
Result so far: 42316.02398523
Deduct 1626 from 2160 and we're left with 534.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5340, and continue the process.

The quotient of the division is 42316.02398523, and the remainder is 5.34e-07.