We're dividing 997108 by 51 
Our goal is to divide 997108 by 51.

Going ahead to step 1:
9 divided by 51 is 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 51

Moving on to step 2:
99 divided by 51 is 1 with a remainder of 48.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 51 from 99 to get 48.
Take the next digit (7) from the dividend and append it to 48, then repeat: 487 / 51

Step 3:
487 divided by 51 is 9 with a remainder of 28.
The next digit of our result is 9. 
Result so far: 19.0
If we subtract 459 from 487, we get 28.
Include the next digit (1) from the dividend after 28, then repeat: 281 / 51

Step 4:
51 can be fit into 281 5 times, resulting in a remainder of 26.
Record the quotient 5 as the next digit in the result. 
Result so far: 195.0
If we take 255 away from 281, we end up with 26.
Grab the next digit (0) from the dividend, add it to 26, then carry on: 260 / 51

Let's proceed to step 5:
The number 51 fits into 260 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 1955.0
If we subtract 255 from 260, we get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 51

Going ahead to step 6:
When dividing 58 by 51, we get 1 with a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 19551.0
The remainder is 7 after subtracting 51 from 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
51 goes into 70 1 times with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 19551.1
Subtracting 51 from 70 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 8:
190 divided by 51 is 3 with a remainder of 37.
The number 3 becomes the next digit in our result. 
Result so far: 19551.13
If we take 153 away from 190, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 9:
51 goes into 370 7 times with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 19551.137
Subtracting 357 from 370 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 10:
51 can be fit into 130 2 times, resulting in a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 19551.1372
Deduct 102 from 130 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 11:
The number 51 fits into 280 5 times, leaving a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 19551.13725
Subtracting 255 from 280 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 12:
51 goes into 250 4 times with a remainder of 46.
Write down 4 as next digit of the result. 
Result so far: 19551.137254
Subtract 204 from 250 to 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.

Advancing to step 13:
When dividing 460 by 51, we get 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 19551.1372549
Deduct 459 from 460 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 14:
51 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 19551.1372549
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 19551.1372549 and a remainder of 1e-08.