40917387 divided by 596 
We want to divide 40917387 by 596.

Advancing to step 1:
If we divide 4 by 596, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 596

Let's proceed to step 2:
The number 596 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Grab the next digit (9) from the dividend, add it to 40, then carry on: 409 / 596

Let's proceed to step 3:
596 goes into 409 0 times with a remainder of 409.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 409 after subtracting 0 from 409.
Grab the next digit (1) from the dividend, add it to 409, then carry on: 4091 / 596

Let's proceed to step 4:
The number 596 fits into 4091 6 times, leaving a remainder of 515.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 515 after subtracting 3576 from 4091.
Take the next digit (7) from the dividend and append it to 515, then repeat: 5157 / 596

Step 5:
The number 596 fits into 5157 8 times, leaving a remainder of 389.
The next digit of our result is 8. 
Result so far: 68.0
Deduct 4768 from 5157 and we're left with 389.
Bring next digit (3) of the dividend behind the 389 and repeat the process: 3893 / 596

Step 6:
596 can be fit into 3893 6 times, resulting in a remainder of 317.
The number 6 becomes the next digit in our result. 
Result so far: 686.0
If we take 3576 away from 3893, we end up with 317.
Append the next digit (8) from the dividend to 317 and continue with: 3178 / 596

Advancing to step 7:
The number 596 fits into 3178 5 times, leaving a remainder of 198.
Use 5 as the next digit of our solution. 
Result so far: 6865.0
If we subtract 2980 from 3178, we get 198.
Fetch the next digit (7) from the dividend, attach it to 198 and continue: 1987 / 596

Let's proceed to step 8:
If we divide 1987 by 596, we get 3 and a remainder of 199.
The number 3 becomes the next digit in our result. 
Result so far: 68653.0
The remainder is 199 after subtracting 1788 from 1987.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1990, and continue the process.

Advancing to step 9:
596 goes into 1990 3 times with a remainder of 202.
Use 3 as the next digit of our solution. 
Result so far: 68653.3
Subtracting 1788 from 1990 leaves us with 202.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2020, and continue the process.

Going ahead to step 10:
If we divide 2020 by 596, we get 3 and a remainder of 232.
The next digit of our result is 3. 
Result so far: 68653.33
The remainder is 232 after subtracting 1788 from 2020.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Our division results in 68653.33 with a remaining 0.232.