We look at the division of 40458890 by 516 
We want to divide 40458890 by 516.

Going ahead to step 1:
When dividing 4 by 516, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 516

On to step 2:
When dividing 40 by 516, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Include the next digit (4) from the dividend after 40, then repeat: 404 / 516

On to step 3:
516 goes into 404 0 times with a remainder of 404.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 404 to get 404.
Bring next digit (5) of the dividend behind the 404 and repeat the process: 4045 / 516

Going ahead to step 4:
516 goes into 4045 7 times with a remainder of 433.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
The remainder is 433 after subtracting 3612 from 4045.
Grab the next digit (8) from the dividend, add it to 433, then carry on: 4338 / 516

On to step 5:
When dividing 4338 by 516, we get 8 with a remainder of 210.
Record the quotient 8 as the next digit in the result. 
Result so far: 78.0
Subtracting 4128 from 4338 leaves us with 210.
Bring next digit (8) of the dividend behind the 210 and repeat the process: 2108 / 516

Advancing to step 6:
If we divide 2108 by 516, we get 4 and a remainder of 44.
The number 4 becomes the next digit in our result. 
Result so far: 784.0
Deduct 2064 from 2108 and we're left with 44.
Fetch the next digit (9) from the dividend, attach it to 44 and continue: 449 / 516

Let's proceed to step 7:
516 can be fit into 449 0 times, resulting in a remainder of 449.
Use 0 as the next digit of our solution. 
Result so far: 7840.0
Subtracting 0 from 449 leaves us with 449.
Bring next digit (0) of the dividend behind the 449 and repeat the process: 4490 / 516

On to step 8:
The number 516 fits into 4490 8 times, leaving a remainder of 362.
Put 8 as the next digit of the answer. 
Result so far: 78408.0
If we take 4128 away from 4490, we end up with 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

On to step 9:
516 goes into 3620 7 times with a remainder of 8.
Use 7 as the next digit of our solution. 
Result so far: 78408.7
Subtract 3612 from 3620 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
If we divide 80 by 516, we get 0 and a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 78408.7
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Moving on to step 11:
When dividing 800 by 516, we get 1 with a remainder of 284.
Write down 1 as next digit of the result. 
Result so far: 78408.701
Deduct 516 from 800 and we're left with 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

On to step 12:
516 goes into 2840 5 times with a remainder of 260.
Use 5 as the next digit of our solution. 
Result so far: 78408.7015
Subtracting 2580 from 2840 leaves us with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Going ahead to step 13:
516 goes into 2600 5 times with a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 78408.70155
The remainder is 20 after subtracting 2580 from 2600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 78408.70155, with a leftover of 2e-05.