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

Advancing to step 1:
If we divide 2 by 39, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 39

Moving on to step 2:
When dividing 24 by 39, we get 0 with a remainder of 24.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 24 leaves us with 24.
Append the next digit (0) from the dividend to 24 and continue with: 240 / 39

Step 3:
When dividing 240 by 39, we get 6 with a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtracting 234 from 240 leaves us with 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 39

On to step 4:
39 can be fit into 62 1 times, resulting in a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 61.0
Deduct 39 from 62 and we're left with 23.
Append the next digit (1) from the dividend to 23 and continue with: 231 / 39

Moving on to step 5:
If we divide 231 by 39, we get 5 and a remainder of 36.
Use 5 as the next digit of our solution. 
Result so far: 615.0
If we subtract 195 from 231, we get 36.
Fetch the next digit (7) from the dividend, attach it to 36 and continue: 367 / 39

Moving on to step 6:
If we divide 367 by 39, we get 9 and a remainder of 16.
The number 9 becomes the next digit in our result. 
Result so far: 6159.0
Subtract 351 from 367 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.

On to step 7:
39 can be fit into 160 4 times, resulting in a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 6159.4
Subtracting 156 from 160 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:
The number 39 fits into 40 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 6159.41
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.

On to step 9:
When dividing 10 by 39, we get 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 6159.41
If we take 0 away from 10, we end up 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 10:
39 can be fit into 100 2 times, resulting in a remainder of 22.
Record the quotient 2 as the next digit in the result. 
Result so far: 6159.4102
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.

On to step 11:
When dividing 220 by 39, we get 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 6159.41025
If we take 195 away from 220, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 12:
250 divided by 39 is 6 with a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 6159.410256
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.

On to step 13:
If we divide 160 by 39, we get 4 and a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 6159.4102564
Deduct 156 from 160 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.

Advancing to step 14:
When dividing 40 by 39, we get 1 with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 6159.41025641
If we take 39 away from 40, we end up 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.

After the division, we end up with 6159.41025641 and a remainder of 1e-09.