Let's divide 540838 by 10
We want to divide 540838 by 10.

Let's proceed to step 1:
10 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 10

Let's proceed to step 2:
54 divided by 10 is 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 5.0
If we take 50 away from 54, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 10

Moving on to step 3:
When dividing 40 by 10, we get 4 with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 54.0
Deduct 40 from 40 and we're left with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 10

Advancing to step 4:
The number 10 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 540.0
Subtract 0 from 8 to get 8.
Include the next digit (3) from the dividend after 8, then repeat: 83 / 10

Going ahead to step 5:
10 can be fit into 83 8 times, resulting in a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 5408.0
The remainder is 3 after subtracting 80 from 83.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 10

Going ahead to step 6:
The number 10 fits into 38 3 times, leaving a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 54083.0
If we subtract 30 from 38, 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.

On to step 7:
If we divide 80 by 10, we get 8 and a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 54083.8
The remainder is 0 after subtracting 80 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
10 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 54083.8
If we subtract 0 from 0, 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.

Moving on to step 9:
The number 10 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 54083.8
Deduct 0 from 0 and we're left 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.

The quotient of the division is 54083.8, and the remainder is 0.0.