We look at the division of 27958331 by 997 
Our goal is to divide 27958331 by 997.

Going ahead to step 1:
997 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 997

Moving on to step 2:
997 can be fit into 27 0 times, resulting in a remainder of 27.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 27, we get 27.
Fetch the next digit (9) from the dividend, attach it to 27 and continue: 279 / 997

On to step 3:
If we divide 279 by 997, we get 0 and a remainder of 279.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 279, we end up with 279.
Include the next digit (5) from the dividend after 279, then repeat: 2795 / 997

Let's proceed to step 4:
997 goes into 2795 2 times with a remainder of 801.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 1994 from 2795 to get 801.
Fetch the next digit (8) from the dividend, attach it to 801 and continue: 8018 / 997

Advancing to step 5:
997 can be fit into 8018 8 times, resulting in a remainder of 42.
Use 8 as the next digit of our solution. 
Result so far: 28.0
If we take 7976 away from 8018, we end up with 42.
Take the next digit (3) from the dividend and append it to 42, then repeat: 423 / 997

Moving on to step 6:
If we divide 423 by 997, we get 0 and a remainder of 423.
Write down 0 as next digit of the result. 
Result so far: 280.0
The remainder is 423 after subtracting 0 from 423.
Grab the next digit (3) from the dividend, add it to 423, then carry on: 4233 / 997

Going ahead to step 7:
4233 divided by 997 is 4 with a remainder of 245.
The number 4 becomes the next digit in our result. 
Result so far: 2804.0
Subtracting 3988 from 4233 leaves us with 245.
Include the next digit (1) from the dividend after 245, then repeat: 2451 / 997

Going ahead to step 8:
The number 997 fits into 2451 2 times, leaving a remainder of 457.
The number 2 becomes the next digit in our result. 
Result so far: 28042.0
Subtracting 1994 from 2451 leaves us with 457.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4570, and continue the process.

Let's proceed to step 9:
997 goes into 4570 4 times with a remainder of 582.
Record the quotient 4 as the next digit in the result. 
Result so far: 28042.4
If we subtract 3988 from 4570, we get 582.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5820, and continue the process.

Going ahead to step 10:
When dividing 5820 by 997, we get 5 with a remainder of 835.
The next digit of our result is 5. 
Result so far: 28042.45
If we take 4985 away from 5820, we end up with 835.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8350, and continue the process.

Going ahead to step 11:
When dividing 8350 by 997, we get 8 with a remainder of 374.
Put 8 as the next digit of the answer. 
Result so far: 28042.458
If we subtract 7976 from 8350, we get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Moving on to step 12:
997 goes into 3740 3 times with a remainder of 749.
Put 3 as the next digit of the answer. 
Result so far: 28042.4583
If we take 2991 away from 3740, we end up with 749.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7490, and continue the process.

Let's proceed to step 13:
997 can be fit into 7490 7 times, resulting in a remainder of 511.
Record the quotient 7 as the next digit in the result. 
Result so far: 28042.45837
If we subtract 6979 from 7490, we get 511.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5110, and continue the process.

On to step 14:
997 goes into 5110 5 times with a remainder of 125.
Put 5 as the next digit of the answer. 
Result so far: 28042.458375
Deduct 4985 from 5110 and we're left with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Step 15:
If we divide 1250 by 997, we get 1 and a remainder of 253.
Use 1 as the next digit of our solution. 
Result so far: 28042.4583751
Subtracting 997 from 1250 leaves us with 253.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2530, and continue the process.

Moving on to step 16:
2530 divided by 997 is 2 with a remainder of 536.
Use 2 as the next digit of our solution. 
Result so far: 28042.45837512
The remainder is 536 after subtracting 1994 from 2530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5360, and continue the process.

Our division results in 28042.45837512 with a remaining 5.36e-07.