540759 divided by 18 
Our goal is to divide 540759 by 18.

Step 1:
The number 18 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 18

Moving on to step 2:
If we divide 54 by 18, we get 3 and a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 54 from 54, we get 0.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 18

Advancing to step 3:
18 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 30.0
Subtract 0 from 0 to get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 18

Going ahead to step 4:
7 divided by 18 is 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 300.0
Subtract 0 from 7 to get 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 18

On to step 5:
If we divide 75 by 18, we get 4 and a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 3004.0
Deduct 72 from 75 and we're left with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 18

Advancing to step 6:
The number 18 fits into 39 2 times, leaving a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 30042.0
Subtracting 36 from 39 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
30 divided by 18 is 1 with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 30042.1
Deduct 18 from 30 and we're left 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.

Advancing to step 8:
18 can be fit into 120 6 times, resulting in a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 30042.16
Subtract 108 from 120 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
If we divide 120 by 18, we get 6 and a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 30042.166
Subtract 108 from 120 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final result is 30042.166 with a remainder of 0.0012.