Let's divide 1297287 by 561
We want to divide 1297287 by 561.

Going ahead to step 1:
561 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 561

Going ahead to step 2:
561 goes into 12 0 times with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Take the next digit (9) from the dividend and append it to 12, then repeat: 129 / 561

Step 3:
If we divide 129 by 561, we get 0 and a remainder of 129.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 129 after subtracting 0 from 129.
Grab the next digit (7) from the dividend, add it to 129, then carry on: 1297 / 561

Let's proceed to step 4:
1297 divided by 561 is 2 with a remainder of 175.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 1122 from 1297 and we're left with 175.
Bring next digit (2) of the dividend behind the 175 and repeat the process: 1752 / 561

Let's proceed to step 5:
1752 divided by 561 is 3 with a remainder of 69.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
The remainder is 69 after subtracting 1683 from 1752.
Include the next digit (8) from the dividend after 69, then repeat: 698 / 561

Moving on to step 6:
If we divide 698 by 561, we get 1 and a remainder of 137.
The number 1 becomes the next digit in our result. 
Result so far: 231.0
If we subtract 561 from 698, we get 137.
Grab the next digit (7) from the dividend, add it to 137, then carry on: 1377 / 561

Let's proceed to step 7:
If we divide 1377 by 561, we get 2 and a remainder of 255.
Use 2 as the next digit of our solution. 
Result so far: 2312.0
Deduct 1122 from 1377 and we're left with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

On to step 8:
If we divide 2550 by 561, we get 4 and a remainder of 306.
The number 4 becomes the next digit in our result. 
Result so far: 2312.4
If we take 2244 away from 2550, we end up with 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Step 9:
When dividing 3060 by 561, we get 5 with a remainder of 255.
Put 5 as the next digit of the answer. 
Result so far: 2312.45
Subtract 2805 from 3060 to get 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Moving on to step 10:
561 goes into 2550 4 times with a remainder of 306.
Use 4 as the next digit of our solution. 
Result so far: 2312.454
The remainder is 306 after subtracting 2244 from 2550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Let's proceed to step 11:
561 can be fit into 3060 5 times, resulting in a remainder of 255.
The number 5 becomes the next digit in our result. 
Result so far: 2312.4545
Subtracting 2805 from 3060 leaves us with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Going ahead to step 12:
2550 divided by 561 is 4 with a remainder of 306.
The next digit of our result is 4. 
Result so far: 2312.45454
The remainder is 306 after subtracting 2244 from 2550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Step 13:
The number 561 fits into 3060 5 times, leaving a remainder of 255.
Record the quotient 5 as the next digit in the result. 
Result so far: 2312.454545
The remainder is 255 after subtracting 2805 from 3060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Let's proceed to step 14:
When dividing 2550 by 561, we get 4 with a remainder of 306.
The next digit of our result is 4. 
Result so far: 2312.4545454
If we take 2244 away from 2550, we end up with 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

On to step 15:
When dividing 3060 by 561, we get 5 with a remainder of 255.
Put 5 as the next digit of the answer. 
Result so far: 2312.45454545
If we take 2805 away from 3060, we end up with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Our division results in 2312.45454545 with a remaining 2.55e-07.