Let's divide 5400373 by 507
Our goal is to divide 5400373 by 507.

Step 1:
When dividing 5 by 507, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 507

Going ahead to step 2:
When dividing 54 by 507, we get 0 with a remainder of 54.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 54 and we're left with 54.
Append the next digit (0) from the dividend to 54 and continue with: 540 / 507

Going ahead to step 3:
540 divided by 507 is 1 with a remainder of 33.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 507 from 540 and we're left with 33.
Take the next digit (0) from the dividend and append it to 33, then repeat: 330 / 507

Let's proceed to step 4:
The number 507 fits into 330 0 times, leaving a remainder of 330.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 330 after subtracting 0 from 330.
Include the next digit (3) from the dividend after 330, then repeat: 3303 / 507

Moving on to step 5:
507 goes into 3303 6 times with a remainder of 261.
Write down 6 as next digit of the result. 
Result so far: 106.0
If we take 3042 away from 3303, we end up with 261.
Grab the next digit (7) from the dividend, add it to 261, then carry on: 2617 / 507

Let's proceed to step 6:
The number 507 fits into 2617 5 times, leaving a remainder of 82.
Write down 5 as next digit of the result. 
Result so far: 1065.0
The remainder is 82 after subtracting 2535 from 2617.
Fetch the next digit (3) from the dividend, attach it to 82 and continue: 823 / 507

Let's proceed to step 7:
When dividing 823 by 507, we get 1 with a remainder of 316.
Write down 1 as next digit of the result. 
Result so far: 10651.0
Deduct 507 from 823 and we're left with 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Step 8:
The number 507 fits into 3160 6 times, leaving a remainder of 118.
The number 6 becomes the next digit in our result. 
Result so far: 10651.6
Subtracting 3042 from 3160 leaves us with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Let's proceed to step 9:
1180 divided by 507 is 2 with a remainder of 166.
The number 2 becomes the next digit in our result. 
Result so far: 10651.62
The remainder is 166 after subtracting 1014 from 1180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Advancing to step 10:
1660 divided by 507 is 3 with a remainder of 139.
The next digit of our result is 3. 
Result so far: 10651.623
Subtract 1521 from 1660 to get 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Advancing to step 11:
The number 507 fits into 1390 2 times, leaving a remainder of 376.
Put 2 as the next digit of the answer. 
Result so far: 10651.6232
Subtract 1014 from 1390 to get 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Moving on to step 12:
3760 divided by 507 is 7 with a remainder of 211.
Put 7 as the next digit of the answer. 
Result so far: 10651.62327
Subtracting 3549 from 3760 leaves us with 211.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2110, and continue the process.

Let's proceed to step 13:
507 goes into 2110 4 times with a remainder of 82.
Record the quotient 4 as the next digit in the result. 
Result so far: 10651.623274
If we subtract 2028 from 2110, we get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 14:
507 can be fit into 820 1 times, resulting in a remainder of 313.
Record the quotient 1 as the next digit in the result. 
Result so far: 10651.6232741
Deduct 507 from 820 and we're left with 313.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3130, and continue the process.

Going ahead to step 15:
507 can be fit into 3130 6 times, resulting in a remainder of 88.
The next digit of our result is 6. 
Result so far: 10651.62327416
Subtract 3042 from 3130 to get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

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