Let's divide 297788 by 51
We want to figure out the number of times 297788 can be divided by 51.

Advancing to step 1:
51 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 51

Advancing to step 2:
51 goes into 29 0 times with a remainder of 29.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 29, we end up with 29.
Fetch the next digit (7) from the dividend, attach it to 29 and continue: 297 / 51

Let's proceed to step 3:
51 can be fit into 297 5 times, resulting in a remainder of 42.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 255 from 297 and we're left with 42.
Include the next digit (7) from the dividend after 42, then repeat: 427 / 51

Step 4:
When dividing 427 by 51, we get 8 with a remainder of 19.
The number 8 becomes the next digit in our result. 
Result so far: 58.0
Deduct 408 from 427 and we're left with 19.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 51

Moving on to step 5:
51 can be fit into 198 3 times, resulting in a remainder of 45.
Use 3 as the next digit of our solution. 
Result so far: 583.0
If we take 153 away from 198, we end up with 45.
Include the next digit (8) from the dividend after 45, then repeat: 458 / 51

Advancing to step 6:
If we divide 458 by 51, we get 8 and a remainder of 50.
The next digit of our result is 8. 
Result so far: 5838.0
Subtracting 408 from 458 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 7:
The number 51 fits into 500 9 times, leaving a remainder of 41.
Put 9 as the next digit of the answer. 
Result so far: 5838.9
If we take 459 away from 500, we end up with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Going ahead to step 8:
51 goes into 410 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 5838.98
Deduct 408 from 410 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 9:
The number 51 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 5838.98
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 10:
200 divided by 51 is 3 with a remainder of 47.
Use 3 as the next digit of our solution. 
Result so far: 5838.9803
If we take 153 away from 200, we end up with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Going ahead to step 11:
The number 51 fits into 470 9 times, leaving a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 5838.98039
If we take 459 away from 470, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 12:
When dividing 110 by 51, we get 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 5838.980392
Subtracting 102 from 110 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 13:
80 divided by 51 is 1 with a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 5838.9803921
If we subtract 51 from 80, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 14:
The number 51 fits into 290 5 times, leaving a remainder of 35.
The next digit of our result is 5. 
Result so far: 5838.98039215
If we take 255 away from 290, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Our division results in 5838.98039215 with a remaining 3.5e-08.