We divide 374946 by 31
We want to figure out the number of times 374946 can be divided by 31.

On to step 1:
If we divide 3 by 31, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 31

Going ahead to step 2:
If we divide 37 by 31, we get 1 and a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 31 from 37 and we're left with 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 31

Moving on to step 3:
31 goes into 64 2 times with a remainder of 2.
The next digit of our result is 2. 
Result so far: 12.0
If we take 62 away from 64, we end up with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 31

Step 4:
31 goes into 29 0 times with a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 120.0
Deduct 0 from 29 and we're left with 29.
Take the next digit (4) from the dividend and append it to 29, then repeat: 294 / 31

Going ahead to step 5:
If we divide 294 by 31, we get 9 and a remainder of 15.
Record the quotient 9 as the next digit in the result. 
Result so far: 1209.0
If we subtract 279 from 294, we get 15.
Append the next digit (6) from the dividend to 15 and continue with: 156 / 31

Let's proceed to step 6:
When dividing 156 by 31, we get 5 with a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 12095.0
Deduct 155 from 156 and we're left 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 7:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 12095.0
If we subtract 0 from 10, 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 8:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 12095.03
If we take 93 away from 100, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 9:
When dividing 70 by 31, we get 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 12095.032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 12095.0322
Deduct 62 from 80 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 12095.0322 with a remaining 0.00018.