40518147 divided by 99 
We want to divide 40518147 by 99.

Going ahead to step 1:
The number 99 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
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 / 99

Moving on to step 2:
If we divide 40 by 99, we get 0 and 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 (5) from the dividend and append it to 40, then repeat: 405 / 99

Going ahead to step 3:
99 goes into 405 4 times with a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we take 396 away from 405, we end up with 9.
Bring next digit (1) of the dividend behind the 9 and repeat the process: 91 / 99

Step 4:
When dividing 91 by 99, we get 0 with a remainder of 91.
Write down 0 as next digit of the result. 
Result so far: 40.0
Deduct 0 from 91 and we're left with 91.
Append the next digit (8) from the dividend to 91 and continue with: 918 / 99

Going ahead to step 5:
The number 99 fits into 918 9 times, leaving a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 409.0
Subtract 891 from 918 to get 27.
Grab the next digit (1) from the dividend, add it to 27, then carry on: 271 / 99

On to step 6:
99 can be fit into 271 2 times, resulting in a remainder of 73.
Record the quotient 2 as the next digit in the result. 
Result so far: 4092.0
If we take 198 away from 271, we end up with 73.
Fetch the next digit (4) from the dividend, attach it to 73 and continue: 734 / 99

Step 7:
734 divided by 99 is 7 with a remainder of 41.
Use 7 as the next digit of our solution. 
Result so far: 40927.0
Subtract 693 from 734 to get 41.
Fetch the next digit (7) from the dividend, attach it to 41 and continue: 417 / 99

Going ahead to step 8:
417 divided by 99 is 4 with a remainder of 21.
The next digit of our result is 4. 
Result so far: 409274.0
The remainder is 21 after subtracting 396 from 417.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 9:
210 divided by 99 is 2 with a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 409274.2
If we take 198 away from 210, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 10:
99 can be fit into 120 1 times, resulting in a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 409274.21
Deduct 99 from 120 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 11:
The number 99 fits into 210 2 times, leaving a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 409274.212
Subtract 198 from 210 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 12:
If we divide 120 by 99, we get 1 and a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 409274.2121
The remainder is 21 after subtracting 99 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 13:
210 divided by 99 is 2 with a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 409274.21212
If we subtract 198 from 210, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 14:
99 can be fit into 120 1 times, resulting in a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 409274.212121
Deduct 99 from 120 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 15:
99 can be fit into 210 2 times, resulting in a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 409274.2121212
Subtract 198 from 210 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 16:
99 can be fit into 120 1 times, resulting in a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 409274.21212121
Subtracting 99 from 120 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final outcome is 409274.21212121, with a leftover of 2.1e-08.