40271237 divided by 304 
We're looking to find how many times 304 goes into 40271237.

Going ahead to step 1:
4 divided by 304 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 304

Let's proceed to step 2:
304 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Bring next digit (2) of the dividend behind the 40 and repeat the process: 402 / 304

Step 3:
304 can be fit into 402 1 times, resulting in a remainder of 98.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 98 after subtracting 304 from 402.
Include the next digit (7) from the dividend after 98, then repeat: 987 / 304

Step 4:
304 goes into 987 3 times with a remainder of 75.
Put 3 as the next digit of the answer. 
Result so far: 13.0
If we take 912 away from 987, we end up with 75.
Include the next digit (1) from the dividend after 75, then repeat: 751 / 304

Let's proceed to step 5:
304 can be fit into 751 2 times, resulting in a remainder of 143.
Record the quotient 2 as the next digit in the result. 
Result so far: 132.0
If we subtract 608 from 751, we get 143.
Take the next digit (2) from the dividend and append it to 143, then repeat: 1432 / 304

Going ahead to step 6:
304 goes into 1432 4 times with a remainder of 216.
Write down 4 as next digit of the result. 
Result so far: 1324.0
The remainder is 216 after subtracting 1216 from 1432.
Fetch the next digit (3) from the dividend, attach it to 216 and continue: 2163 / 304

On to step 7:
The number 304 fits into 2163 7 times, leaving a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 13247.0
Subtracting 2128 from 2163 leaves us with 35.
Append the next digit (7) from the dividend to 35 and continue with: 357 / 304

On to step 8:
304 goes into 357 1 times with a remainder of 53.
The number 1 becomes the next digit in our result. 
Result so far: 132471.0
Deduct 304 from 357 and we're left with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Step 9:
304 goes into 530 1 times with a remainder of 226.
The next digit of our result is 1. 
Result so far: 132471.1
If we take 304 away from 530, we end up with 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Let's proceed to step 10:
2260 divided by 304 is 7 with a remainder of 132.
Record the quotient 7 as the next digit in the result. 
Result so far: 132471.17
If we subtract 2128 from 2260, we get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

On to step 11:
304 can be fit into 1320 4 times, resulting in a remainder of 104.
Use 4 as the next digit of our solution. 
Result so far: 132471.174
If we take 1216 away from 1320, we end up with 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Let's proceed to step 12:
304 can be fit into 1040 3 times, resulting in a remainder of 128.
The next digit of our result is 3. 
Result so far: 132471.1743
If we subtract 912 from 1040, we get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Step 13:
304 goes into 1280 4 times with a remainder of 64.
Use 4 as the next digit of our solution. 
Result so far: 132471.17434
If we take 1216 away from 1280, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 14:
The number 304 fits into 640 2 times, leaving a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 132471.174342
Subtracting 608 from 640 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 15:
If we divide 320 by 304, we get 1 and a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 132471.1743421
Deduct 304 from 320 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 16:
If we divide 160 by 304, we get 0 and a remainder of 160.
Use 0 as the next digit of our solution. 
Result so far: 132471.1743421
Subtract 0 from 160 to 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.

The final result is 132471.1743421 with a remainder of 1.6e-07.