We divide 40545178 by 355
We want to divide 40545178 by 355.

On to step 1:
The number 355 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 355

Step 2:
355 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (5) from the dividend, add it to 40, then carry on: 405 / 355

Moving on to step 3:
405 divided by 355 is 1 with a remainder of 50.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 355 from 405 to get 50.
Append the next digit (4) from the dividend to 50 and continue with: 504 / 355

Going ahead to step 4:
355 goes into 504 1 times with a remainder of 149.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Subtract 355 from 504 to get 149.
Bring next digit (5) of the dividend behind the 149 and repeat the process: 1495 / 355

Going ahead to step 5:
1495 divided by 355 is 4 with a remainder of 75.
The number 4 becomes the next digit in our result. 
Result so far: 114.0
If we take 1420 away from 1495, we end up with 75.
Bring next digit (1) of the dividend behind the 75 and repeat the process: 751 / 355

Going ahead to step 6:
355 can be fit into 751 2 times, resulting in a remainder of 41.
The number 2 becomes the next digit in our result. 
Result so far: 1142.0
Deduct 710 from 751 and we're left with 41.
Append the next digit (7) from the dividend to 41 and continue with: 417 / 355

On to step 7:
355 goes into 417 1 times with a remainder of 62.
The next digit of our result is 1. 
Result so far: 11421.0
The remainder is 62 after subtracting 355 from 417.
Grab the next digit (8) from the dividend, add it to 62, then carry on: 628 / 355

On to step 8:
355 goes into 628 1 times with a remainder of 273.
The next digit of our result is 1. 
Result so far: 114211.0
Deduct 355 from 628 and we're left with 273.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2730, and continue the process.

Advancing to step 9:
355 goes into 2730 7 times with a remainder of 245.
The next digit of our result is 7. 
Result so far: 114211.7
Deduct 2485 from 2730 and we're left with 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

On to step 10:
If we divide 2450 by 355, we get 6 and a remainder of 320.
The next digit of our result is 6. 
Result so far: 114211.76
If we subtract 2130 from 2450, we get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

On to step 11:
The number 355 fits into 3200 9 times, leaving a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 114211.769
If we subtract 3195 from 3200, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 12:
The number 355 fits into 50 0 times, leaving a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 114211.769
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 13:
355 can be fit into 500 1 times, resulting in a remainder of 145.
Use 1 as the next digit of our solution. 
Result so far: 114211.76901
Subtract 355 from 500 to get 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Going ahead to step 14:
355 can be fit into 1450 4 times, resulting in a remainder of 30.
Record the quotient 4 as the next digit in the result. 
Result so far: 114211.769014
Deduct 1420 from 1450 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 15:
355 can be fit into 300 0 times, resulting in a remainder of 300.
Put 0 as the next digit of the answer. 
Result so far: 114211.769014
If we subtract 0 from 300, we get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Let's proceed to step 16:
355 can be fit into 3000 8 times, resulting in a remainder of 160.
Write down 8 as next digit of the result. 
Result so far: 114211.76901408
If we subtract 2840 from 3000, we get 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

After the division, we end up with 114211.76901408 and a remainder of 1.6e-07.