We're dividing 40840828 by 199 
Our goal is to divide 40840828 by 199.

Advancing to step 1:
199 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 199

On to step 2:
40 divided by 199 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Take the next digit (8) from the dividend and append it to 40, then repeat: 408 / 199

Going ahead to step 3:
If we divide 408 by 199, we get 2 and a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 398 from 408 to get 10.
Append the next digit (4) from the dividend to 10 and continue with: 104 / 199

Step 4:
199 goes into 104 0 times with a remainder of 104.
Write down 0 as next digit of the result. 
Result so far: 20.0
Deduct 0 from 104 and we're left with 104.
Grab the next digit (0) from the dividend, add it to 104, then carry on: 1040 / 199

Moving on to step 5:
If we divide 1040 by 199, we get 5 and a remainder of 45.
The next digit of our result is 5. 
Result so far: 205.0
If we subtract 995 from 1040, we get 45.
Grab the next digit (8) from the dividend, add it to 45, then carry on: 458 / 199

Step 6:
199 goes into 458 2 times with a remainder of 60.
Use 2 as the next digit of our solution. 
Result so far: 2052.0
Subtracting 398 from 458 leaves us with 60.
Bring next digit (2) of the dividend behind the 60 and repeat the process: 602 / 199

Going ahead to step 7:
When dividing 602 by 199, we get 3 with a remainder of 5.
Record the quotient 3 as the next digit in the result. 
Result so far: 20523.0
The remainder is 5 after subtracting 597 from 602.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 199

On to step 8:
When dividing 58 by 199, we get 0 with a remainder of 58.
Put 0 as the next digit of the answer. 
Result so far: 205230.0
Subtract 0 from 58 to get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Advancing to step 9:
If we divide 580 by 199, we get 2 and a remainder of 182.
Put 2 as the next digit of the answer. 
Result so far: 205230.2
Subtract 398 from 580 to get 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

On to step 10:
1820 divided by 199 is 9 with a remainder of 29.
Write down 9 as next digit of the result. 
Result so far: 205230.29
The remainder is 29 after subtracting 1791 from 1820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 11:
290 divided by 199 is 1 with a remainder of 91.
The next digit of our result is 1. 
Result so far: 205230.291
If we take 199 away from 290, we end up with 91.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

Step 12:
The number 199 fits into 910 4 times, leaving a remainder of 114.
Record the quotient 4 as the next digit in the result. 
Result so far: 205230.2914
Deduct 796 from 910 and we're left with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Moving on to step 13:
If we divide 1140 by 199, we get 5 and a remainder of 145.
Use 5 as the next digit of our solution. 
Result so far: 205230.29145
Deduct 995 from 1140 and we're left with 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Let's proceed to step 14:
1450 divided by 199 is 7 with a remainder of 57.
Record the quotient 7 as the next digit in the result. 
Result so far: 205230.291457
The remainder is 57 after subtracting 1393 from 1450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Going ahead to step 15:
570 divided by 199 is 2 with a remainder of 172.
Put 2 as the next digit of the answer. 
Result so far: 205230.2914572
If we subtract 398 from 570, we get 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Advancing to step 16:
The number 199 fits into 1720 8 times, leaving a remainder of 128.
Use 8 as the next digit of our solution. 
Result so far: 205230.29145728
The remainder is 128 after subtracting 1592 from 1720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Our division results in 205230.29145728 with a remaining 1.28e-07.