Let's divide 595262 by 40
We want to figure out the number of times 595262 can be divided by 40.

Moving on to step 1:
40 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 40

Moving on to step 2:
The number 40 fits into 59 1 times, leaving a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 40 from 59 and we're left with 19.
Append the next digit (5) from the dividend to 19 and continue with: 195 / 40

Going ahead to step 3:
The number 40 fits into 195 4 times, leaving a remainder of 35.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Subtracting 160 from 195 leaves us with 35.
Take the next digit (2) from the dividend and append it to 35, then repeat: 352 / 40

Moving on to step 4:
40 goes into 352 8 times with a remainder of 32.
Record the quotient 8 as the next digit in the result. 
Result so far: 148.0
Subtracting 320 from 352 leaves us with 32.
Bring next digit (6) of the dividend behind the 32 and repeat the process: 326 / 40

On to step 5:
If we divide 326 by 40, we get 8 and a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 1488.0
If we take 320 away from 326, we end up with 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 40

Going ahead to step 6:
62 divided by 40 is 1 with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 14881.0
Subtract 40 from 62 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 7:
The number 40 fits into 220 5 times, leaving a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 14881.5
If we subtract 200 from 220, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 14881.55
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.

The final result is 14881.55 with a remainder of 0.0.