Let's divide 340374 by 9
We're looking to find how many times 9 goes into 340374.

Going ahead to step 1:
If we divide 3 by 9, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.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 / 9

Let's proceed to step 2:
9 goes into 34 3 times with a remainder of 7.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 27 from 34, we get 7.
Bring next digit (0) of the dividend behind the 7 and repeat the process: 70 / 9

Step 3:
The number 9 fits into 70 7 times, leaving a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 37.0
Subtract 63 from 70 to get 7.
Fetch the next digit (3) from the dividend, attach it to 7 and continue: 73 / 9

Going ahead to step 4:
9 goes into 73 8 times with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 378.0
The remainder is 1 after subtracting 72 from 73.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 9

Step 5:
17 divided by 9 is 1 with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 3781.0
Subtract 9 from 17 to get 8.
Grab the next digit (4) from the dividend, add it to 8, then carry on: 84 / 9

On to step 6:
If we divide 84 by 9, we get 9 and a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 37819.0
Subtract 81 from 84 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
9 goes into 30 3 times with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 37819.3
The remainder is 3 after subtracting 27 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 8:
The number 9 fits into 30 3 times, leaving a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 37819.33
Subtract 27 from 30 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Our division results in 37819.33 with a remaining 0.003.