Let's divide 79160178 by 997
We want to divide 79160178 by 997.

Going ahead to step 1:
7 divided by 997 is 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 997

On to step 2:
79 divided by 997 is 0 with a remainder of 79.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 79, we end up with 79.
Grab the next digit (1) from the dividend, add it to 79, then carry on: 791 / 997

On to step 3:
If we divide 791 by 997, we get 0 and a remainder of 791.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 791, we end up with 791.
Include the next digit (6) from the dividend after 791, then repeat: 7916 / 997

Moving on to step 4:
997 can be fit into 7916 7 times, resulting in a remainder of 937.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
Subtract 6979 from 7916 to get 937.
Append the next digit (0) from the dividend to 937 and continue with: 9370 / 997

Step 5:
9370 divided by 997 is 9 with a remainder of 397.
Put 9 as the next digit of the answer. 
Result so far: 79.0
Subtract 8973 from 9370 to get 397.
Include the next digit (1) from the dividend after 397, then repeat: 3971 / 997

Going ahead to step 6:
3971 divided by 997 is 3 with a remainder of 980.
The number 3 becomes the next digit in our result. 
Result so far: 793.0
The remainder is 980 after subtracting 2991 from 3971.
Include the next digit (7) from the dividend after 980, then repeat: 9807 / 997

Going ahead to step 7:
997 can be fit into 9807 9 times, resulting in a remainder of 834.
The next digit of our result is 9. 
Result so far: 7939.0
Subtracting 8973 from 9807 leaves us with 834.
Grab the next digit (8) from the dividend, add it to 834, then carry on: 8348 / 997

On to step 8:
When dividing 8348 by 997, we get 8 with a remainder of 372.
Use 8 as the next digit of our solution. 
Result so far: 79398.0
The remainder is 372 after subtracting 7976 from 8348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3720, and continue the process.

On to step 9:
997 goes into 3720 3 times with a remainder of 729.
Use 3 as the next digit of our solution. 
Result so far: 79398.3
Subtracting 2991 from 3720 leaves us with 729.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7290, and continue the process.

On to step 10:
When dividing 7290 by 997, we get 7 with a remainder of 311.
Record the quotient 7 as the next digit in the result. 
Result so far: 79398.37
If we subtract 6979 from 7290, we get 311.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3110, and continue the process.

Step 11:
The number 997 fits into 3110 3 times, leaving a remainder of 119.
Record the quotient 3 as the next digit in the result. 
Result so far: 79398.373
Subtract 2991 from 3110 to get 119.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

Going ahead to step 12:
1190 divided by 997 is 1 with a remainder of 193.
Write down 1 as next digit of the result. 
Result so far: 79398.3731
Subtracting 997 from 1190 leaves us with 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1930, and continue the process.

Step 13:
997 can be fit into 1930 1 times, resulting in a remainder of 933.
Write down 1 as next digit of the result. 
Result so far: 79398.37311
The remainder is 933 after subtracting 997 from 1930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9330, and continue the process.

After the division, we end up with 79398.37311 and a remainder of 0.000933.