Let's divide 38980674 by 964
We want to divide 38980674 by 964.

Let's proceed to step 1:
964 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 964

Going ahead to step 2:
964 can be fit into 38 0 times, resulting in a remainder of 38.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 38, we get 38.
Fetch the next digit (9) from the dividend, attach it to 38 and continue: 389 / 964

Step 3:
964 goes into 389 0 times with a remainder of 389.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 389 after subtracting 0 from 389.
Include the next digit (8) from the dividend after 389, then repeat: 3898 / 964

Going ahead to step 4:
When dividing 3898 by 964, we get 4 with a remainder of 42.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we take 3856 away from 3898, we end up with 42.
Append the next digit (0) from the dividend to 42 and continue with: 420 / 964

On to step 5:
964 goes into 420 0 times with a remainder of 420.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
If we subtract 0 from 420, we get 420.
Bring next digit (6) of the dividend behind the 420 and repeat the process: 4206 / 964

Let's proceed to step 6:
964 can be fit into 4206 4 times, resulting in a remainder of 350.
Write down 4 as next digit of the result. 
Result so far: 404.0
Subtract 3856 from 4206 to get 350.
Bring next digit (7) of the dividend behind the 350 and repeat the process: 3507 / 964

Moving on to step 7:
The number 964 fits into 3507 3 times, leaving a remainder of 615.
Record the quotient 3 as the next digit in the result. 
Result so far: 4043.0
Deduct 2892 from 3507 and we're left with 615.
Bring next digit (4) of the dividend behind the 615 and repeat the process: 6154 / 964

Let's proceed to step 8:
964 goes into 6154 6 times with a remainder of 370.
Use 6 as the next digit of our solution. 
Result so far: 40436.0
Deduct 5784 from 6154 and we're left with 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

Moving on to step 9:
If we divide 3700 by 964, we get 3 and a remainder of 808.
The next digit of our result is 3. 
Result so far: 40436.3
Subtracting 2892 from 3700 leaves us with 808.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8080, and continue the process.

Let's proceed to step 10:
964 can be fit into 8080 8 times, resulting in a remainder of 368.
The next digit of our result is 8. 
Result so far: 40436.38
Deduct 7712 from 8080 and we're left with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

On to step 11:
964 can be fit into 3680 3 times, resulting in a remainder of 788.
Put 3 as the next digit of the answer. 
Result so far: 40436.383
If we subtract 2892 from 3680, we get 788.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7880, and continue the process.

Moving on to step 12:
If we divide 7880 by 964, we get 8 and a remainder of 168.
Write down 8 as next digit of the result. 
Result so far: 40436.3838
If we subtract 7712 from 7880, we get 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Advancing to step 13:
1680 divided by 964 is 1 with a remainder of 716.
Put 1 as the next digit of the answer. 
Result so far: 40436.38381
The remainder is 716 after subtracting 964 from 1680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7160, and continue the process.

On to step 14:
When dividing 7160 by 964, we get 7 with a remainder of 412.
Record the quotient 7 as the next digit in the result. 
Result so far: 40436.383817
Subtract 6748 from 7160 to get 412.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4120, and continue the process.

Moving on to step 15:
When dividing 4120 by 964, we get 4 with a remainder of 264.
Record the quotient 4 as the next digit in the result. 
Result so far: 40436.3838174
Deduct 3856 from 4120 and we're left with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Moving on to step 16:
The number 964 fits into 2640 2 times, leaving a remainder of 712.
Write down 2 as next digit of the result. 
Result so far: 40436.38381742
The remainder is 712 after subtracting 1928 from 2640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7120, and continue the process.

The quotient of the division is 40436.38381742, and the remainder is 7.12e-07.