We're dividing 334987 by 3 
Let's see how many times 3 fits into 334987.

Advancing to step 1:
3 divided by 3 is 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
If we take 3 away from 3, we end up with 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 3

Moving on to step 2:
3 divided by 3 is 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we take 3 away from 3, we end up with 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 3

On to step 3:
4 divided by 3 is 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 111.0
Subtracting 3 from 4 leaves us with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 3

On to step 4:
If we divide 19 by 3, we get 6 and a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 1116.0
Subtracting 18 from 19 leaves us with 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 3

Moving on to step 5:
3 can be fit into 18 6 times, resulting in a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 11166.0
If we subtract 18 from 18, we get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 3

Moving on to step 6:
7 divided by 3 is 2 with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 111662.0
If we subtract 6 from 7, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
When dividing 10 by 3, we get 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 111662.3
If we take 9 away from 10, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 8:
10 divided by 3 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 111662.33
Subtract 9 from 10 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Our division results in 111662.33 with a remaining 0.001.