Let's divide 2710940 by 504
Let's see how many times 504 fits into 2710940.

Step 1:
When dividing 2 by 504, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 504

Moving on to step 2:
504 can be fit into 27 0 times, resulting in a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 27 leaves us with 27.
Take the next digit (1) from the dividend and append it to 27, then repeat: 271 / 504

Step 3:
271 divided by 504 is 0 with a remainder of 271.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 271 after subtracting 0 from 271.
Append the next digit (0) from the dividend to 271 and continue with: 2710 / 504

Let's proceed to step 4:
When dividing 2710 by 504, we get 5 with a remainder of 190.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 2520 from 2710 and we're left with 190.
Bring next digit (9) of the dividend behind the 190 and repeat the process: 1909 / 504

Let's proceed to step 5:
The number 504 fits into 1909 3 times, leaving a remainder of 397.
The number 3 becomes the next digit in our result. 
Result so far: 53.0
If we take 1512 away from 1909, we end up with 397.
Grab the next digit (4) from the dividend, add it to 397, then carry on: 3974 / 504

Step 6:
504 goes into 3974 7 times with a remainder of 446.
Record the quotient 7 as the next digit in the result. 
Result so far: 537.0
If we take 3528 away from 3974, we end up with 446.
Include the next digit (0) from the dividend after 446, then repeat: 4460 / 504

Advancing to step 7:
504 can be fit into 4460 8 times, resulting in a remainder of 428.
The number 8 becomes the next digit in our result. 
Result so far: 5378.0
Subtracting 4032 from 4460 leaves us with 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Going ahead to step 8:
When dividing 4280 by 504, we get 8 with a remainder of 248.
The number 8 becomes the next digit in our result. 
Result so far: 5378.8
If we subtract 4032 from 4280, we get 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Moving on to step 9:
When dividing 2480 by 504, we get 4 with a remainder of 464.
Use 4 as the next digit of our solution. 
Result so far: 5378.84
Deduct 2016 from 2480 and we're left with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Going ahead to step 10:
504 can be fit into 4640 9 times, resulting in a remainder of 104.
Put 9 as the next digit of the answer. 
Result so far: 5378.849
If we take 4536 away from 4640, we end up with 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Going ahead to step 11:
504 can be fit into 1040 2 times, resulting in a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 5378.8492
Deduct 1008 from 1040 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 12:
If we divide 320 by 504, we get 0 and a remainder of 320.
Write down 0 as next digit of the result. 
Result so far: 5378.8492
If we take 0 away from 320, we end up with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Step 13:
The number 504 fits into 3200 6 times, leaving a remainder of 176.
The next digit of our result is 6. 
Result so far: 5378.849206
Subtracting 3024 from 3200 leaves us with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Let's proceed to step 14:
504 can be fit into 1760 3 times, resulting in a remainder of 248.
Record the quotient 3 as the next digit in the result. 
Result so far: 5378.8492063
Deduct 1512 from 1760 and we're left with 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Advancing to step 15:
2480 divided by 504 is 4 with a remainder of 464.
The number 4 becomes the next digit in our result. 
Result so far: 5378.84920634
Subtract 2016 from 2480 to get 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

In conclusion, the division gives 5378.84920634 with a balance of 4.64e-07.