Let's divide 540866 by 56
We want to divide 540866 by 56.

Let's proceed to step 1:
56 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 56

Going ahead to step 2:
54 divided by 56 is 0 with a remainder of 54.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 54, we end up with 54.
Take the next digit (0) from the dividend and append it to 54, then repeat: 540 / 56

Let's proceed to step 3:
The number 56 fits into 540 9 times, leaving a remainder of 36.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 504 from 540, we get 36.
Take the next digit (8) from the dividend and append it to 36, then repeat: 368 / 56

Step 4:
56 can be fit into 368 6 times, resulting in a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 96.0
If we subtract 336 from 368, we get 32.
Grab the next digit (6) from the dividend, add it to 32, then carry on: 326 / 56

Step 5:
326 divided by 56 is 5 with a remainder of 46.
Write down 5 as next digit of the result. 
Result so far: 965.0
Deduct 280 from 326 and we're left with 46.
Bring next digit (6) of the dividend behind the 46 and repeat the process: 466 / 56

Moving on to step 6:
The number 56 fits into 466 8 times, leaving a remainder of 18.
Record the quotient 8 as the next digit in the result. 
Result so far: 9658.0
Subtracting 448 from 466 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 7:
When dividing 180 by 56, we get 3 with a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 9658.3
If we take 168 away from 180, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 8:
56 goes into 120 2 times with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 9658.32
If we take 112 away from 120, we end up 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.

Step 9:
If we divide 80 by 56, we get 1 and a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 9658.321
If we subtract 56 from 80, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 10:
240 divided by 56 is 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 9658.3214
If we take 224 away from 240, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 11:
When dividing 160 by 56, we get 2 with a remainder of 48.
Use 2 as the next digit of our solution. 
Result so far: 9658.32142
The remainder is 48 after subtracting 112 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 12:
56 can be fit into 480 8 times, resulting in a remainder of 32.
The next digit of our result is 8. 
Result so far: 9658.321428
If we take 448 away from 480, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 13:
56 can be fit into 320 5 times, resulting in a remainder of 40.
Record the quotient 5 as the next digit in the result. 
Result so far: 9658.3214285
Subtracting 280 from 320 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 14:
56 goes into 400 7 times with a remainder of 8.
Write down 7 as next digit of the result. 
Result so far: 9658.32142857
If we subtract 392 from 400, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 9658.32142857, with a leftover of 8e-09.