540348 ÷ 6 
We're looking to find how many times 6 goes into 540348.

Step 1:
6 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
Subtract 0 from 5 to get 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 6

Step 2:
6 can be fit into 54 9 times, resulting in a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 9.0
Deduct 54 from 54 and we're left with 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 6

Advancing to step 3:
If we divide 0 by 6, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 90.0
The remainder is 0 after subtracting 0 from 0.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 6

Let's proceed to step 4:
3 divided by 6 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 900.0
If we subtract 0 from 3, we get 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 6

Advancing to step 5:
34 divided by 6 is 5 with a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 9005.0
Subtract 30 from 34 to get 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 6

Advancing to step 6:
If we divide 48 by 6, we get 8 and a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 90058.0
If we take 48 away from 48, 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.

Going ahead to step 7:
6 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 90058.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.

Let's proceed to step 8:
0 divided by 6 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 90058.0
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 final outcome is 90058.0, with a leftover of 0.0.