540796 divided by 2 
We want to figure out the number of times 540796 can be divided by 2.

On to step 1:
The number 2 fits into 5 2 times, leaving a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 4 from 5 leaves us with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 2

Going ahead to step 2:
2 goes into 14 7 times with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 27.0
Subtract 14 from 14 to get 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 2

Advancing to step 3:
2 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 270.0
If we take 0 away from 0, we end up with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 2

Moving on to step 4:
If we divide 7 by 2, we get 3 and a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 2703.0
Deduct 6 from 7 and we're left with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 2

On to step 5:
The number 2 fits into 19 9 times, leaving a remainder of 1.
The next digit of our result is 9. 
Result so far: 27039.0
Deduct 18 from 19 and we're left with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 2

On to step 6:
If we divide 16 by 2, we get 8 and a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 270398.0
If we subtract 16 from 16, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
When dividing 0 by 2, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 270398.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 2 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 270398.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 270398.0, with a leftover of 0.0.