We're dividing 40985808 by 364 
Let's see how many times 364 fits into 40985808.

Moving on to step 1:
364 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
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 / 364

Let's proceed to step 2:
The number 364 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.
Include the next digit (9) from the dividend after 40, then repeat: 409 / 364

Going ahead to step 3:
364 can be fit into 409 1 times, resulting in a remainder of 45.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 364 from 409 to get 45.
Include the next digit (8) from the dividend after 45, then repeat: 458 / 364

Step 4:
364 goes into 458 1 times with a remainder of 94.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtract 364 from 458 to get 94.
Include the next digit (5) from the dividend after 94, then repeat: 945 / 364

Step 5:
If we divide 945 by 364, we get 2 and a remainder of 217.
Put 2 as the next digit of the answer. 
Result so far: 112.0
Subtract 728 from 945 to get 217.
Grab the next digit (8) from the dividend, add it to 217, then carry on: 2178 / 364

Let's proceed to step 6:
If we divide 2178 by 364, we get 5 and a remainder of 358.
The next digit of our result is 5. 
Result so far: 1125.0
Subtract 1820 from 2178 to get 358.
Include the next digit (0) from the dividend after 358, then repeat: 3580 / 364

Going ahead to step 7:
364 can be fit into 3580 9 times, resulting in a remainder of 304.
The next digit of our result is 9. 
Result so far: 11259.0
Deduct 3276 from 3580 and we're left with 304.
Append the next digit (8) from the dividend to 304 and continue with: 3048 / 364

On to step 8:
364 can be fit into 3048 8 times, resulting in a remainder of 136.
Put 8 as the next digit of the answer. 
Result so far: 112598.0
If we subtract 2912 from 3048, we get 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Step 9:
If we divide 1360 by 364, we get 3 and a remainder of 268.
Use 3 as the next digit of our solution. 
Result so far: 112598.3
Subtract 1092 from 1360 to get 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Going ahead to step 10:
364 can be fit into 2680 7 times, resulting in a remainder of 132.
Record the quotient 7 as the next digit in the result. 
Result so far: 112598.37
If we take 2548 away from 2680, we end up with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Let's proceed to step 11:
If we divide 1320 by 364, we get 3 and a remainder of 228.
The next digit of our result is 3. 
Result so far: 112598.373
Subtract 1092 from 1320 to get 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Step 12:
If we divide 2280 by 364, we get 6 and a remainder of 96.
Put 6 as the next digit of the answer. 
Result so far: 112598.3736
Subtract 2184 from 2280 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 13:
364 goes into 960 2 times with a remainder of 232.
Write down 2 as next digit of the result. 
Result so far: 112598.37362
The remainder is 232 after subtracting 728 from 960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Let's proceed to step 14:
364 goes into 2320 6 times with a remainder of 136.
Put 6 as the next digit of the answer. 
Result so far: 112598.373626
Deduct 2184 from 2320 and we're left with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

On to step 15:
364 goes into 1360 3 times with a remainder of 268.
Record the quotient 3 as the next digit in the result. 
Result so far: 112598.3736263
If we subtract 1092 from 1360, we get 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Step 16:
If we divide 2680 by 364, we get 7 and a remainder of 132.
The number 7 becomes the next digit in our result. 
Result so far: 112598.37362637
If we take 2548 away from 2680, we end up with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Our division results in 112598.37362637 with a remaining 1.32e-07.