Let's divide 31078247 by 648
Let's see how many times 648 fits into 31078247.

Let's proceed to step 1:
3 divided by 648 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 648

Let's proceed to step 2:
The number 648 fits into 31 0 times, leaving a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Include the next digit (0) from the dividend after 31, then repeat: 310 / 648

Going ahead to step 3:
If we divide 310 by 648, we get 0 and a remainder of 310.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 310 and we're left with 310.
Append the next digit (7) from the dividend to 310 and continue with: 3107 / 648

Going ahead to step 4:
If we divide 3107 by 648, we get 4 and a remainder of 515.
Put 4 as the next digit of the answer. 
Result so far: 4.0
The remainder is 515 after subtracting 2592 from 3107.
Append the next digit (8) from the dividend to 515 and continue with: 5158 / 648

Advancing to step 5:
If we divide 5158 by 648, we get 7 and a remainder of 622.
Put 7 as the next digit of the answer. 
Result so far: 47.0
Deduct 4536 from 5158 and we're left with 622.
Bring next digit (2) of the dividend behind the 622 and repeat the process: 6222 / 648

Let's proceed to step 6:
If we divide 6222 by 648, we get 9 and a remainder of 390.
The next digit of our result is 9. 
Result so far: 479.0
Deduct 5832 from 6222 and we're left with 390.
Append the next digit (4) from the dividend to 390 and continue with: 3904 / 648

Step 7:
648 can be fit into 3904 6 times, resulting in a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 4796.0
Subtract 3888 from 3904 to get 16.
Append the next digit (7) from the dividend to 16 and continue with: 167 / 648

Moving on to step 8:
648 goes into 167 0 times with a remainder of 167.
Use 0 as the next digit of our solution. 
Result so far: 47960.0
If we take 0 away from 167, we end up with 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Advancing to step 9:
648 goes into 1670 2 times with a remainder of 374.
Put 2 as the next digit of the answer. 
Result so far: 47960.2
If we take 1296 away from 1670, we end up with 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Going ahead to step 10:
648 can be fit into 3740 5 times, resulting in a remainder of 500.
Put 5 as the next digit of the answer. 
Result so far: 47960.25
Deduct 3240 from 3740 and we're left with 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Going ahead to step 11:
If we divide 5000 by 648, we get 7 and a remainder of 464.
Use 7 as the next digit of our solution. 
Result so far: 47960.257
If we take 4536 away from 5000, we end up 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.

Moving on to step 12:
648 can be fit into 4640 7 times, resulting in a remainder of 104.
The number 7 becomes the next digit in our result. 
Result so far: 47960.2577
If we subtract 4536 from 4640, we get 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

The final outcome is 47960.2577, with a leftover of 0.00104.