310774 ÷ 12 
We want to divide 310774 by 12.

Going ahead to step 1:
The number 12 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 12

Advancing to step 2:
The number 12 fits into 31 2 times, leaving a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 24 from 31 leaves us with 7.
Grab the next digit (0) from the dividend, add it to 7, then carry on: 70 / 12

Advancing to step 3:
12 can be fit into 70 5 times, resulting in a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 25.0
Subtracting 60 from 70 leaves us with 10.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 12

Going ahead to step 4:
If we divide 107 by 12, we get 8 and a remainder of 11.
Put 8 as the next digit of the answer. 
Result so far: 258.0
If we subtract 96 from 107, we get 11.
Include the next digit (7) from the dividend after 11, then repeat: 117 / 12

Step 5:
When dividing 117 by 12, we get 9 with a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 2589.0
If we take 108 away from 117, we end up with 9.
Grab the next digit (4) from the dividend, add it to 9, then carry on: 94 / 12

Advancing to step 6:
When dividing 94 by 12, we get 7 with a remainder of 10.
The number 7 becomes the next digit in our result. 
Result so far: 25897.0
If we subtract 84 from 94, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 7:
100 divided by 12 is 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 25897.8
If we take 96 away from 100, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
12 goes into 40 3 times with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 25897.83
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
40 divided by 12 is 3 with a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 25897.833
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 25897.833 with a remainder of 0.0004.