Let's divide 364887 by 37
Our goal is to divide 364887 by 37.

Going ahead to step 1:
37 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 37

Moving on to step 2:
When dividing 36 by 37, we get 0 with a remainder of 36.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 36 to get 36.
Include the next digit (4) from the dividend after 36, then repeat: 364 / 37

Going ahead to step 3:
37 can be fit into 364 9 times, resulting in a remainder of 31.
Write down 9 as next digit of the result. 
Result so far: 9.0
The remainder is 31 after subtracting 333 from 364.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 37

Step 4:
The number 37 fits into 318 8 times, leaving a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 98.0
The remainder is 22 after subtracting 296 from 318.
Bring next digit (8) of the dividend behind the 22 and repeat the process: 228 / 37

Moving on to step 5:
If we divide 228 by 37, we get 6 and a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 986.0
Subtract 222 from 228 to get 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 37

Let's proceed to step 6:
If we divide 67 by 37, we get 1 and a remainder of 30.
The next digit of our result is 1. 
Result so far: 9861.0
If we subtract 37 from 67, 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.

Let's proceed to step 7:
If we divide 300 by 37, we get 8 and a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 9861.8
Subtracting 296 from 300 leaves us 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.

Advancing to step 8:
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: 9861.81
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 9:
When dividing 30 by 37, we get 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 9861.81
Subtracting 0 from 30 leaves us with 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 10:
When dividing 300 by 37, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 9861.8108
Subtract 296 from 300 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
40 divided by 37 is 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 9861.81081
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.

Moving on to step 12:
The number 37 fits into 30 0 times, leaving a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 9861.81081
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 13:
300 divided by 37 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 9861.8108108
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.

Going ahead to step 14:
37 can be fit into 40 1 times, resulting in a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 9861.81081081
Deduct 37 from 40 and we're left 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.

The final result is 9861.81081081 with a remainder of 3e-09.