We're dividing 40057796 by 328 
Our goal is to divide 40057796 by 328.

Step 1:
4 divided by 328 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 328

Step 2:
When dividing 40 by 328, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Bring next digit (0) of the dividend behind the 40 and repeat the process: 400 / 328

Let's proceed to step 3:
When dividing 400 by 328, we get 1 with a remainder of 72.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 328 from 400, we get 72.
Fetch the next digit (5) from the dividend, attach it to 72 and continue: 725 / 328

Advancing to step 4:
When dividing 725 by 328, we get 2 with a remainder of 69.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Deduct 656 from 725 and we're left with 69.
Grab the next digit (7) from the dividend, add it to 69, then carry on: 697 / 328

Going ahead to step 5:
328 can be fit into 697 2 times, resulting in a remainder of 41.
Put 2 as the next digit of the answer. 
Result so far: 122.0
Subtracting 656 from 697 leaves us with 41.
Take the next digit (7) from the dividend and append it to 41, then repeat: 417 / 328

Advancing to step 6:
If we divide 417 by 328, we get 1 and a remainder of 89.
The next digit of our result is 1. 
Result so far: 1221.0
If we subtract 328 from 417, we get 89.
Append the next digit (9) from the dividend to 89 and continue with: 899 / 328

Let's proceed to step 7:
328 goes into 899 2 times with a remainder of 243.
Use 2 as the next digit of our solution. 
Result so far: 12212.0
The remainder is 243 after subtracting 656 from 899.
Bring next digit (6) of the dividend behind the 243 and repeat the process: 2436 / 328

Moving on to step 8:
328 goes into 2436 7 times with a remainder of 140.
Use 7 as the next digit of our solution. 
Result so far: 122127.0
If we take 2296 away from 2436, we end up with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Let's proceed to step 9:
328 can be fit into 1400 4 times, resulting in a remainder of 88.
Put 4 as the next digit of the answer. 
Result so far: 122127.4
The remainder is 88 after subtracting 1312 from 1400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Step 10:
880 divided by 328 is 2 with a remainder of 224.
The number 2 becomes the next digit in our result. 
Result so far: 122127.42
Subtracting 656 from 880 leaves us with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Step 11:
328 goes into 2240 6 times with a remainder of 272.
Write down 6 as next digit of the result. 
Result so far: 122127.426
Deduct 1968 from 2240 and we're left with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Advancing to step 12:
If we divide 2720 by 328, we get 8 and a remainder of 96.
Put 8 as the next digit of the answer. 
Result so far: 122127.4268
If we subtract 2624 from 2720, we 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.

Let's proceed to step 13:
When dividing 960 by 328, we get 2 with a remainder of 304.
Write down 2 as next digit of the result. 
Result so far: 122127.42682
Subtract 656 from 960 to get 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Going ahead to step 14:
When dividing 3040 by 328, we get 9 with a remainder of 88.
Write down 9 as next digit of the result. 
Result so far: 122127.426829
Deduct 2952 from 3040 and we're left with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Going ahead to step 15:
If we divide 880 by 328, we get 2 and a remainder of 224.
Record the quotient 2 as the next digit in the result. 
Result so far: 122127.4268292
Subtracting 656 from 880 leaves us with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Advancing to step 16:
If we divide 2240 by 328, we get 6 and a remainder of 272.
Record the quotient 6 as the next digit in the result. 
Result so far: 122127.42682926
Subtracting 1968 from 2240 leaves us with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

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