We divide 5191897 by 796
We want to divide 5191897 by 796.

Let's proceed to step 1:
796 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 796

Step 2:
796 can be fit into 51 0 times, resulting in a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 51 after subtracting 0 from 51.
Take the next digit (9) from the dividend and append it to 51, then repeat: 519 / 796

Going ahead to step 3:
When dividing 519 by 796, we get 0 with a remainder of 519.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 519, we get 519.
Bring next digit (1) of the dividend behind the 519 and repeat the process: 5191 / 796

Going ahead to step 4:
If we divide 5191 by 796, we get 6 and a remainder of 415.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtract 4776 from 5191 to get 415.
Include the next digit (8) from the dividend after 415, then repeat: 4158 / 796

Step 5:
796 goes into 4158 5 times with a remainder of 178.
The next digit of our result is 5. 
Result so far: 65.0
If we subtract 3980 from 4158, we get 178.
Grab the next digit (9) from the dividend, add it to 178, then carry on: 1789 / 796

Advancing to step 6:
796 goes into 1789 2 times with a remainder of 197.
Put 2 as the next digit of the answer. 
Result so far: 652.0
Subtract 1592 from 1789 to get 197.
Grab the next digit (7) from the dividend, add it to 197, then carry on: 1977 / 796

Advancing to step 7:
If we divide 1977 by 796, we get 2 and a remainder of 385.
Record the quotient 2 as the next digit in the result. 
Result so far: 6522.0
If we take 1592 away from 1977, we end up with 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

Advancing to step 8:
796 can be fit into 3850 4 times, resulting in a remainder of 666.
The next digit of our result is 4. 
Result so far: 6522.4
Subtract 3184 from 3850 to get 666.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6660, and continue the process.

Step 9:
The number 796 fits into 6660 8 times, leaving a remainder of 292.
Use 8 as the next digit of our solution. 
Result so far: 6522.48
If we take 6368 away from 6660, we end up with 292.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2920, and continue the process.

Moving on to step 10:
The number 796 fits into 2920 3 times, leaving a remainder of 532.
The next digit of our result is 3. 
Result so far: 6522.483
Subtracting 2388 from 2920 leaves us with 532.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5320, and continue the process.

Advancing to step 11:
When dividing 5320 by 796, we get 6 with a remainder of 544.
Use 6 as the next digit of our solution. 
Result so far: 6522.4836
If we subtract 4776 from 5320, we get 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

Moving on to step 12:
796 can be fit into 5440 6 times, resulting in a remainder of 664.
The number 6 becomes the next digit in our result. 
Result so far: 6522.48366
Subtracting 4776 from 5440 leaves us with 664.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6640, and continue the process.

After the division, we end up with 6522.48366 and a remainder of 0.000664.