Let's divide 31946789 by 627
Our goal is to divide 31946789 by 627.

Let's proceed to step 1:
The number 627 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 627

Moving on to step 2:
627 goes into 31 0 times with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Take the next digit (9) from the dividend and append it to 31, then repeat: 319 / 627

Step 3:
The number 627 fits into 319 0 times, leaving a remainder of 319.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 319, we end up with 319.
Fetch the next digit (4) from the dividend, attach it to 319 and continue: 3194 / 627

Let's proceed to step 4:
The number 627 fits into 3194 5 times, leaving a remainder of 59.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 3135 away from 3194, we end up with 59.
Grab the next digit (6) from the dividend, add it to 59, then carry on: 596 / 627

On to step 5:
596 divided by 627 is 0 with a remainder of 596.
Put 0 as the next digit of the answer. 
Result so far: 50.0
Subtracting 0 from 596 leaves us with 596.
Grab the next digit (7) from the dividend, add it to 596, then carry on: 5967 / 627

Let's proceed to step 6:
The number 627 fits into 5967 9 times, leaving a remainder of 324.
Write down 9 as next digit of the result. 
Result so far: 509.0
Deduct 5643 from 5967 and we're left with 324.
Grab the next digit (8) from the dividend, add it to 324, then carry on: 3248 / 627

Let's proceed to step 7:
3248 divided by 627 is 5 with a remainder of 113.
The number 5 becomes the next digit in our result. 
Result so far: 5095.0
Deduct 3135 from 3248 and we're left with 113.
Append the next digit (9) from the dividend to 113 and continue with: 1139 / 627

Advancing to step 8:
1139 divided by 627 is 1 with a remainder of 512.
Put 1 as the next digit of the answer. 
Result so far: 50951.0
Subtracting 627 from 1139 leaves us with 512.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5120, and continue the process.

Going ahead to step 9:
627 can be fit into 5120 8 times, resulting in a remainder of 104.
Use 8 as the next digit of our solution. 
Result so far: 50951.8
Deduct 5016 from 5120 and we're left 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.

Advancing to step 10:
627 can be fit into 1040 1 times, resulting in a remainder of 413.
Put 1 as the next digit of the answer. 
Result so far: 50951.81
If we subtract 627 from 1040, we get 413.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4130, and continue the process.

Going ahead to step 11:
The number 627 fits into 4130 6 times, leaving a remainder of 368.
The number 6 becomes the next digit in our result. 
Result so far: 50951.816
Subtracting 3762 from 4130 leaves us with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Advancing to step 12:
627 goes into 3680 5 times with a remainder of 545.
Put 5 as the next digit of the answer. 
Result so far: 50951.8165
The remainder is 545 after subtracting 3135 from 3680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5450, and continue the process.

Advancing to step 13:
627 goes into 5450 8 times with a remainder of 434.
Write down 8 as next digit of the result. 
Result so far: 50951.81658
If we subtract 5016 from 5450, we get 434.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4340, and continue the process.

On to step 14:
When dividing 4340 by 627, we get 6 with a remainder of 578.
Put 6 as the next digit of the answer. 
Result so far: 50951.816586
The remainder is 578 after subtracting 3762 from 4340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5780, and continue the process.

On to step 15:
When dividing 5780 by 627, we get 9 with a remainder of 137.
Write down 9 as next digit of the result. 
Result so far: 50951.8165869
Subtract 5643 from 5780 to get 137.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1370, and continue the process.

Step 16:
When dividing 1370 by 627, we get 2 with a remainder of 116.
Write down 2 as next digit of the result. 
Result so far: 50951.81658692
Subtract 1254 from 1370 to get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

After the division, we end up with 50951.81658692 and a remainder of 1.16e-07.