We're dividing 566762 by 40 
We want to divide 566762 by 40.

Let's proceed to step 1:
The number 40 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 40

Going ahead to step 2:
56 divided by 40 is 1 with a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 40 from 56 to get 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 40

On to step 3:
166 divided by 40 is 4 with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we subtract 160 from 166, we get 6.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 40

Moving on to step 4:
67 divided by 40 is 1 with a remainder of 27.
Use 1 as the next digit of our solution. 
Result so far: 141.0
The remainder is 27 after subtracting 40 from 67.
Take the next digit (6) from the dividend and append it to 27, then repeat: 276 / 40

Moving on to step 5:
The number 40 fits into 276 6 times, leaving a remainder of 36.
Use 6 as the next digit of our solution. 
Result so far: 1416.0
Subtracting 240 from 276 leaves us with 36.
Bring next digit (2) of the dividend behind the 36 and repeat the process: 362 / 40

Moving on to step 6:
If we divide 362 by 40, we get 9 and a remainder of 2.
The next digit of our result is 9. 
Result so far: 14169.0
Subtracting 360 from 362 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
If we divide 20 by 40, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 14169.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 14169.05
If we subtract 200 from 200, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 14169.05
Deduct 0 from 0 and we're left 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.

On to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14169.05
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 14169.05, with a leftover of 0.0.