Let's divide 366058 by 39
We want to divide 366058 by 39.

Step 1:
39 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 39

Going ahead to step 2:
When dividing 36 by 39, we get 0 with a remainder of 36.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 36, we end up with 36.
Take the next digit (6) from the dividend and append it to 36, then repeat: 366 / 39

On to step 3:
39 can be fit into 366 9 times, resulting in a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we subtract 351 from 366, we get 15.
Take the next digit (0) from the dividend and append it to 15, then repeat: 150 / 39

Moving on to step 4:
If we divide 150 by 39, we get 3 and a remainder of 33.
Write down 3 as next digit of the result. 
Result so far: 93.0
Deduct 117 from 150 and we're left with 33.
Fetch the next digit (5) from the dividend, attach it to 33 and continue: 335 / 39

Step 5:
335 divided by 39 is 8 with a remainder of 23.
Use 8 as the next digit of our solution. 
Result so far: 938.0
Subtract 312 from 335 to get 23.
Bring next digit (8) of the dividend behind the 23 and repeat the process: 238 / 39

On to step 6:
39 goes into 238 6 times with a remainder of 4.
The next digit of our result is 6. 
Result so far: 9386.0
The remainder is 4 after subtracting 234 from 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
When dividing 40 by 39, we get 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 9386.1
The remainder is 1 after subtracting 39 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 8:
If we divide 10 by 39, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 9386.1
Deduct 0 from 10 and we're left with 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 9:
If we divide 100 by 39, we get 2 and a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 9386.102
The remainder is 22 after subtracting 78 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 10:
The number 39 fits into 220 5 times, leaving a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 9386.1025
If we subtract 195 from 220, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 11:
The number 39 fits into 250 6 times, leaving a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 9386.10256
Subtract 234 from 250 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 12:
The number 39 fits into 160 4 times, leaving a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 9386.102564
Subtract 156 from 160 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.

Going ahead to step 13:
The number 39 fits into 40 1 times, leaving a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 9386.1025641
Subtract 39 from 40 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 14:
39 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 9386.1025641
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.

The final result is 9386.1025641 with a remainder of 1e-08.