Let's divide 12942 by 45
We want to divide 12942 by 45.

Going ahead to step 1:
1 divided by 45 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 45

Moving on to step 2:
The number 45 fits into 12 0 times, leaving a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Append the next digit (9) from the dividend to 12 and continue with: 129 / 45

Step 3:
The number 45 fits into 129 2 times, leaving a remainder of 39.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 90 from 129 to get 39.
Fetch the next digit (4) from the dividend, attach it to 39 and continue: 394 / 45

On to step 4:
45 goes into 394 8 times with a remainder of 34.
Use 8 as the next digit of our solution. 
Result so far: 28.0
If we take 360 away from 394, we end up with 34.
Append the next digit (2) from the dividend to 34 and continue with: 342 / 45

Advancing to step 5:
342 divided by 45 is 7 with a remainder of 27.
Write down 7 as next digit of the result. 
Result so far: 287.0
Subtracting 315 from 342 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 6:
45 goes into 270 6 times with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 287.6
The remainder is 0 after subtracting 270 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
When dividing 0 by 45, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 287.6
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
0 divided by 45 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 287.6
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 287.6 with a remaining 0.0.