Let's divide 399887 by 36
Our goal is to divide 399887 by 36.

Let's proceed to step 1:
36 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 36

Step 2:
39 divided by 36 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 3 after subtracting 36 from 39.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 36

Step 3:
If we divide 39 by 36, we get 1 and a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Subtracting 36 from 39 leaves us with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 36

Advancing to step 4:
The number 36 fits into 38 1 times, leaving a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 111.0
Deduct 36 from 38 and we're left with 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 36

Going ahead to step 5:
When dividing 28 by 36, we get 0 with a remainder of 28.
The number 0 becomes the next digit in our result. 
Result so far: 1110.0
Subtract 0 from 28 to get 28.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 36

On to step 6:
36 goes into 287 7 times with a remainder of 35.
The next digit of our result is 7. 
Result so far: 11107.0
If we take 252 away from 287, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 7:
The number 36 fits into 350 9 times, leaving a remainder of 26.
Record the quotient 9 as the next digit in the result. 
Result so far: 11107.9
Deduct 324 from 350 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 8:
36 can be fit into 260 7 times, resulting in a remainder of 8.
The number 7 becomes the next digit in our result. 
Result so far: 11107.97
If we take 252 away from 260, 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 9:
36 can be fit into 80 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 11107.972
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 10:
36 can be fit into 80 2 times, resulting in a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 11107.9722
Deduct 72 from 80 and we're left 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.

The quotient of the division is 11107.9722, and the remainder is 8e-05.