We divide 334962 by 9
Let's see how many times 9 fits into 334962.

On to step 1:
9 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 9

On to step 2:
If we divide 33 by 9, we get 3 and a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 27 from 33 to get 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 9

On to step 3:
The number 9 fits into 64 7 times, leaving a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 37.0
Subtracting 63 from 64 leaves us with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 9

Let's proceed to step 4:
9 goes into 19 2 times with a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 372.0
If we take 18 away from 19, we end up with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 9

Let's proceed to step 5:
If we divide 16 by 9, we get 1 and a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 3721.0
Subtracting 9 from 16 leaves us with 7.
Fetch the next digit (2) from the dividend, attach it to 7 and continue: 72 / 9

Let's proceed to step 6:
9 can be fit into 72 8 times, resulting in a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 37218.0
Deduct 72 from 72 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.

On to step 7:
9 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 37218.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.

Step 8:
When dividing 0 by 9, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 37218.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 37218.0, with a leftover of 0.0.