840765 divided by 13 
Let's see how many times 13 fits into 840765.

Let's proceed to step 1:
13 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 13

On to step 2:
If we divide 84 by 13, we get 6 and a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 6.0
Subtract 78 from 84 to get 6.
Take the next digit (0) from the dividend and append it to 6, then repeat: 60 / 13

Going ahead to step 3:
60 divided by 13 is 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 64.0
Deduct 52 from 60 and we're left with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 13

Going ahead to step 4:
13 goes into 87 6 times with a remainder of 9.
The number 6 becomes the next digit in our result. 
Result so far: 646.0
Subtracting 78 from 87 leaves us with 9.
Append the next digit (6) from the dividend to 9 and continue with: 96 / 13

On to step 5:
13 goes into 96 7 times with a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 6467.0
If we take 91 away from 96, we end up with 5.
Bring next digit (5) of the dividend behind the 5 and repeat the process: 55 / 13

Advancing to step 6:
13 can be fit into 55 4 times, resulting in a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 64674.0
The remainder is 3 after subtracting 52 from 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
The number 13 fits into 30 2 times, leaving a remainder of 4.
The next digit of our result is 2. 
Result so far: 64674.2
If we subtract 26 from 30, we 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 8:
When dividing 40 by 13, we get 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 64674.23
If we subtract 39 from 40, we 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 9:
If we divide 10 by 13, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 64674.23
The remainder is 10 after subtracting 0 from 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:
The number 13 fits into 100 7 times, leaving a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 64674.2307
Subtract 91 from 100 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 11:
When dividing 90 by 13, we get 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 64674.23076
If we subtract 78 from 90, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 12:
When dividing 120 by 13, we get 9 with a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 64674.230769
Deduct 117 from 120 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.

Moving on to step 13:
The number 13 fits into 30 2 times, leaving a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 64674.2307692
Deduct 26 from 30 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.

Let's proceed to step 14:
40 divided by 13 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 64674.23076923
Subtracting 39 from 40 leaves us 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.

Our division results in 64674.23076923 with a remaining 1e-09.