We divide 30771238 by 678
We want to figure out the number of times 30771238 can be divided by 678.

Advancing to step 1:
678 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 678

Moving on to step 2:
678 can be fit into 30 0 times, resulting in a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 30 leaves us with 30.
Include the next digit (7) from the dividend after 30, then repeat: 307 / 678

Let's proceed to step 3:
If we divide 307 by 678, we get 0 and a remainder of 307.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 307 after subtracting 0 from 307.
Bring next digit (7) of the dividend behind the 307 and repeat the process: 3077 / 678

Going ahead to step 4:
When dividing 3077 by 678, we get 4 with a remainder of 365.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we subtract 2712 from 3077, we get 365.
Bring next digit (1) of the dividend behind the 365 and repeat the process: 3651 / 678

Step 5:
678 goes into 3651 5 times with a remainder of 261.
Record the quotient 5 as the next digit in the result. 
Result so far: 45.0
If we subtract 3390 from 3651, we get 261.
Fetch the next digit (2) from the dividend, attach it to 261 and continue: 2612 / 678

Advancing to step 6:
678 goes into 2612 3 times with a remainder of 578.
Put 3 as the next digit of the answer. 
Result so far: 453.0
Subtract 2034 from 2612 to get 578.
Bring next digit (3) of the dividend behind the 578 and repeat the process: 5783 / 678

Step 7:
5783 divided by 678 is 8 with a remainder of 359.
The next digit of our result is 8. 
Result so far: 4538.0
Subtract 5424 from 5783 to get 359.
Append the next digit (8) from the dividend to 359 and continue with: 3598 / 678

Let's proceed to step 8:
When dividing 3598 by 678, we get 5 with a remainder of 208.
Write down 5 as next digit of the result. 
Result so far: 45385.0
If we take 3390 away from 3598, we end up with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Step 9:
When dividing 2080 by 678, we get 3 with a remainder of 46.
Record the quotient 3 as the next digit in the result. 
Result so far: 45385.3
If we subtract 2034 from 2080, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Step 10:
678 can be fit into 460 0 times, resulting in a remainder of 460.
Put 0 as the next digit of the answer. 
Result so far: 45385.3
If we take 0 away from 460, we end up with 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Advancing to step 11:
When dividing 4600 by 678, we get 6 with a remainder of 532.
The number 6 becomes the next digit in our result. 
Result so far: 45385.306
Deduct 4068 from 4600 and we're left with 532.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5320, and continue the process.

Moving on to step 12:
When dividing 5320 by 678, we get 7 with a remainder of 574.
Use 7 as the next digit of our solution. 
Result so far: 45385.3067
Deduct 4746 from 5320 and we're left with 574.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5740, and continue the process.

Let's proceed to step 13:
The number 678 fits into 5740 8 times, leaving a remainder of 316.
The next digit of our result is 8. 
Result so far: 45385.30678
The remainder is 316 after subtracting 5424 from 5740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Let's proceed to step 14:
3160 divided by 678 is 4 with a remainder of 448.
The next digit of our result is 4. 
Result so far: 45385.306784
Subtract 2712 from 3160 to get 448.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

Let's proceed to step 15:
678 can be fit into 4480 6 times, resulting in a remainder of 412.
Write down 6 as next digit of the result. 
Result so far: 45385.3067846
The remainder is 412 after subtracting 4068 from 4480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4120, and continue the process.

On to step 16:
678 can be fit into 4120 6 times, resulting in a remainder of 52.
Use 6 as the next digit of our solution. 
Result so far: 45385.30678466
Subtract 4068 from 4120 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

The final outcome is 45385.30678466, with a leftover of 5.2e-08.