We're dividing 31778893 by 623 
We want to divide 31778893 by 623.

On to step 1:
When dividing 3 by 623, we get 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.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 623

Going ahead to step 2:
31 divided by 623 is 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 623

Moving on to step 3:
When dividing 317 by 623, we get 0 with a remainder of 317.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 317, we get 317.
Take the next digit (7) from the dividend and append it to 317, then repeat: 3177 / 623

Step 4:
If we divide 3177 by 623, we get 5 and a remainder of 62.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 3115 from 3177 leaves us with 62.
Include the next digit (8) from the dividend after 62, then repeat: 628 / 623

Going ahead to step 5:
If we divide 628 by 623, we get 1 and a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 51.0
Deduct 623 from 628 and we're left with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 623

Moving on to step 6:
If we divide 58 by 623, we get 0 and a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 510.0
Deduct 0 from 58 and we're left with 58.
Take the next digit (9) from the dividend and append it to 58, then repeat: 589 / 623

Step 7:
If we divide 589 by 623, we get 0 and a remainder of 589.
Record the quotient 0 as the next digit in the result. 
Result so far: 5100.0
Subtracting 0 from 589 leaves us with 589.
Grab the next digit (3) from the dividend, add it to 589, then carry on: 5893 / 623

Advancing to step 8:
623 goes into 5893 9 times with a remainder of 286.
Write down 9 as next digit of the result. 
Result so far: 51009.0
Deduct 5607 from 5893 and we're left with 286.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

Advancing to step 9:
When dividing 2860 by 623, we get 4 with a remainder of 368.
Write down 4 as next digit of the result. 
Result so far: 51009.4
Deduct 2492 from 2860 and we're left 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.

Moving on to step 10:
If we divide 3680 by 623, we get 5 and a remainder of 565.
Write down 5 as next digit of the result. 
Result so far: 51009.45
If we subtract 3115 from 3680, we get 565.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5650, and continue the process.

On to step 11:
The number 623 fits into 5650 9 times, leaving a remainder of 43.
The next digit of our result is 9. 
Result so far: 51009.459
Subtracting 5607 from 5650 leaves us with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Advancing to step 12:
623 goes into 430 0 times with a remainder of 430.
Put 0 as the next digit of the answer. 
Result so far: 51009.459
The remainder is 430 after subtracting 0 from 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

On to step 13:
The number 623 fits into 4300 6 times, leaving a remainder of 562.
Record the quotient 6 as the next digit in the result. 
Result so far: 51009.45906
If we take 3738 away from 4300, we end up with 562.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5620, and continue the process.

Moving on to step 14:
The number 623 fits into 5620 9 times, leaving a remainder of 13.
Record the quotient 9 as the next digit in the result. 
Result so far: 51009.459069
Subtract 5607 from 5620 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 15:
When dividing 130 by 623, we get 0 with a remainder of 130.
Write down 0 as next digit of the result. 
Result so far: 51009.459069
Deduct 0 from 130 and we're left with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

On to step 16:
If we divide 1300 by 623, we get 2 and a remainder of 54.
The number 2 becomes the next digit in our result. 
Result so far: 51009.45906902
Subtracting 1246 from 1300 leaves us with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

In conclusion, the division gives 51009.45906902 with a balance of 5.4e-08.