39846560 ÷ 989 
We want to divide 39846560 by 989.

Going ahead to step 1:
The number 989 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 989

Going ahead to step 2:
The number 989 fits into 39 0 times, leaving a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Append the next digit (8) from the dividend to 39 and continue with: 398 / 989

Advancing to step 3:
989 can be fit into 398 0 times, resulting in a remainder of 398.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 398 leaves us with 398.
Bring next digit (4) of the dividend behind the 398 and repeat the process: 3984 / 989

Step 4:
When dividing 3984 by 989, we get 4 with a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Deduct 3956 from 3984 and we're left with 28.
Take the next digit (6) from the dividend and append it to 28, then repeat: 286 / 989

On to step 5:
989 goes into 286 0 times with a remainder of 286.
The next digit of our result is 0. 
Result so far: 40.0
Subtract 0 from 286 to get 286.
Take the next digit (5) from the dividend and append it to 286, then repeat: 2865 / 989

Going ahead to step 6:
When dividing 2865 by 989, we get 2 with a remainder of 887.
Write down 2 as next digit of the result. 
Result so far: 402.0
Subtract 1978 from 2865 to get 887.
Append the next digit (6) from the dividend to 887 and continue with: 8876 / 989

Advancing to step 7:
8876 divided by 989 is 8 with a remainder of 964.
Put 8 as the next digit of the answer. 
Result so far: 4028.0
Deduct 7912 from 8876 and we're left with 964.
Grab the next digit (0) from the dividend, add it to 964, then carry on: 9640 / 989

Step 8:
The number 989 fits into 9640 9 times, leaving a remainder of 739.
The number 9 becomes the next digit in our result. 
Result so far: 40289.0
Deduct 8901 from 9640 and we're left with 739.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7390, and continue the process.

On to step 9:
If we divide 7390 by 989, we get 7 and a remainder of 467.
The next digit of our result is 7. 
Result so far: 40289.7
If we subtract 6923 from 7390, we get 467.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4670, and continue the process.

On to step 10:
989 can be fit into 4670 4 times, resulting in a remainder of 714.
The next digit of our result is 4. 
Result so far: 40289.74
Deduct 3956 from 4670 and we're left with 714.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7140, and continue the process.

Moving on to step 11:
7140 divided by 989 is 7 with a remainder of 217.
Put 7 as the next digit of the answer. 
Result so far: 40289.747
If we take 6923 away from 7140, we end up with 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

Moving on to step 12:
2170 divided by 989 is 2 with a remainder of 192.
The next digit of our result is 2. 
Result so far: 40289.7472
If we subtract 1978 from 2170, we get 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Let's proceed to step 13:
When dividing 1920 by 989, we get 1 with a remainder of 931.
The next digit of our result is 1. 
Result so far: 40289.74721
Subtract 989 from 1920 to get 931.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9310, and continue the process.

Step 14:
The number 989 fits into 9310 9 times, leaving a remainder of 409.
Record the quotient 9 as the next digit in the result. 
Result so far: 40289.747219
The remainder is 409 after subtracting 8901 from 9310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

Moving on to step 15:
When dividing 4090 by 989, we get 4 with a remainder of 134.
Use 4 as the next digit of our solution. 
Result so far: 40289.7472194
If we subtract 3956 from 4090, we get 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Moving on to step 16:
989 goes into 1340 1 times with a remainder of 351.
The number 1 becomes the next digit in our result. 
Result so far: 40289.74721941
The remainder is 351 after subtracting 989 from 1340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3510, and continue the process.

Our division results in 40289.74721941 with a remaining 3.51e-07.