We divide 398678 by 37
Our goal is to divide 398678 by 37.

Going ahead to step 1:
When dividing 3 by 37, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 37

Step 2:
When dividing 39 by 37, we get 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 37 from 39 and we're left with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 37

Step 3:
When dividing 28 by 37, we get 0 with a remainder of 28.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we take 0 away from 28, we end up with 28.
Bring next digit (6) of the dividend behind the 28 and repeat the process: 286 / 37

Let's proceed to step 4:
If we divide 286 by 37, we get 7 and a remainder of 27.
The next digit of our result is 7. 
Result so far: 107.0
If we take 259 away from 286, we end up with 27.
Bring next digit (7) of the dividend behind the 27 and repeat the process: 277 / 37

Step 5:
37 goes into 277 7 times with a remainder of 18.
The number 7 becomes the next digit in our result. 
Result so far: 1077.0
Deduct 259 from 277 and we're left with 18.
Include the next digit (8) from the dividend after 18, then repeat: 188 / 37

Let's proceed to step 6:
If we divide 188 by 37, we get 5 and a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 10775.0
Subtracting 185 from 188 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
37 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 10775.0
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
300 divided by 37 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 10775.08
Deduct 296 from 300 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.

Step 9:
When dividing 40 by 37, we get 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 10775.081
The remainder is 3 after subtracting 37 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 10:
37 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 10775.081
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 11:
If we divide 300 by 37, we get 8 and a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 10775.08108
The remainder is 4 after subtracting 296 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 12:
37 can be fit into 40 1 times, resulting in a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 10775.081081
If we take 37 away from 40, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 13:
If we divide 30 by 37, we get 0 and a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 10775.081081
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 14:
The number 37 fits into 300 8 times, leaving a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 10775.08108108
The remainder is 4 after subtracting 296 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 10775.08108108 with a remaining 4e-09.