40340351 ÷ 90 
We're looking to find how many times 90 goes into 40340351.

Step 1:
The number 90 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
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 90

Step 2:
The number 90 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (3) from the dividend to 40 and continue with: 403 / 90

Step 3:
403 divided by 90 is 4 with a remainder of 43.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 360 from 403 to get 43.
Fetch the next digit (4) from the dividend, attach it to 43 and continue: 434 / 90

Advancing to step 4:
If we divide 434 by 90, we get 4 and a remainder of 74.
Put 4 as the next digit of the answer. 
Result so far: 44.0
Subtract 360 from 434 to get 74.
Grab the next digit (0) from the dividend, add it to 74, then carry on: 740 / 90

Going ahead to step 5:
740 divided by 90 is 8 with a remainder of 20.
Use 8 as the next digit of our solution. 
Result so far: 448.0
Subtract 720 from 740 to get 20.
Take the next digit (3) from the dividend and append it to 20, then repeat: 203 / 90

Moving on to step 6:
If we divide 203 by 90, we get 2 and a remainder of 23.
The next digit of our result is 2. 
Result so far: 4482.0
If we take 180 away from 203, we end up with 23.
Grab the next digit (5) from the dividend, add it to 23, then carry on: 235 / 90

Going ahead to step 7:
If we divide 235 by 90, we get 2 and a remainder of 55.
The number 2 becomes the next digit in our result. 
Result so far: 44822.0
Subtract 180 from 235 to get 55.
Fetch the next digit (1) from the dividend, attach it to 55 and continue: 551 / 90

Step 8:
If we divide 551 by 90, we get 6 and a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 448226.0
If we subtract 540 from 551, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 9:
When dividing 110 by 90, we get 1 with a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 448226.1
If we subtract 90 from 110, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 10:
90 can be fit into 200 2 times, resulting in a remainder of 20.
The next digit of our result is 2. 
Result so far: 448226.12
Subtracting 180 from 200 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 11:
The number 90 fits into 200 2 times, leaving a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 448226.122
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

After the division, we end up with 448226.122 and a remainder of 0.002.