2540108 ÷ 581 
Let's see how many times 581 fits into 2540108.

Let's proceed to step 1:
581 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 581

Step 2:
581 can be fit into 25 0 times, resulting in a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 25 and we're left with 25.
Fetch the next digit (4) from the dividend, attach it to 25 and continue: 254 / 581

Going ahead to step 3:
581 can be fit into 254 0 times, resulting in a remainder of 254.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 254, we end up with 254.
Take the next digit (0) from the dividend and append it to 254, then repeat: 2540 / 581

Step 4:
581 goes into 2540 4 times with a remainder of 216.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 216 after subtracting 2324 from 2540.
Fetch the next digit (1) from the dividend, attach it to 216 and continue: 2161 / 581

Moving on to step 5:
581 goes into 2161 3 times with a remainder of 418.
Write down 3 as next digit of the result. 
Result so far: 43.0
Subtracting 1743 from 2161 leaves us with 418.
Grab the next digit (0) from the dividend, add it to 418, then carry on: 4180 / 581

Advancing to step 6:
The number 581 fits into 4180 7 times, leaving a remainder of 113.
The next digit of our result is 7. 
Result so far: 437.0
The remainder is 113 after subtracting 4067 from 4180.
Grab the next digit (8) from the dividend, add it to 113, then carry on: 1138 / 581

On to step 7:
The number 581 fits into 1138 1 times, leaving a remainder of 557.
The next digit of our result is 1. 
Result so far: 4371.0
If we subtract 581 from 1138, we get 557.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5570, and continue the process.

Moving on to step 8:
When dividing 5570 by 581, we get 9 with a remainder of 341.
Write down 9 as next digit of the result. 
Result so far: 4371.9
Deduct 5229 from 5570 and we're left with 341.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3410, and continue the process.

Let's proceed to step 9:
The number 581 fits into 3410 5 times, leaving a remainder of 505.
Use 5 as the next digit of our solution. 
Result so far: 4371.95
If we take 2905 away from 3410, we end up with 505.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5050, and continue the process.

On to step 10:
If we divide 5050 by 581, we get 8 and a remainder of 402.
The next digit of our result is 8. 
Result so far: 4371.958
If we subtract 4648 from 5050, we get 402.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4020, and continue the process.

Advancing to step 11:
When dividing 4020 by 581, we get 6 with a remainder of 534.
Write down 6 as next digit of the result. 
Result so far: 4371.9586
The remainder is 534 after subtracting 3486 from 4020.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5340, and continue the process.

Step 12:
If we divide 5340 by 581, we get 9 and a remainder of 111.
The number 9 becomes the next digit in our result. 
Result so far: 4371.95869
If we take 5229 away from 5340, we end up with 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1110, and continue the process.

Going ahead to step 13:
581 goes into 1110 1 times with a remainder of 529.
The next digit of our result is 1. 
Result so far: 4371.958691
The remainder is 529 after subtracting 581 from 1110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5290, and continue the process.

On to step 14:
5290 divided by 581 is 9 with a remainder of 61.
Write down 9 as next digit of the result. 
Result so far: 4371.9586919
If we subtract 5229 from 5290, we get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Advancing to step 15:
581 goes into 610 1 times with a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 4371.95869191
Deduct 581 from 610 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

After the division, we end up with 4371.95869191 and a remainder of 2.9e-08.