We look at the division of 39889587 by 393 
Our goal is to divide 39889587 by 393.

On to step 1:
If we divide 3 by 393, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 393

On to step 2:
393 goes into 39 0 times with a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Bring next digit (8) of the dividend behind the 39 and repeat the process: 398 / 393

Let's proceed to step 3:
When dividing 398 by 393, we get 1 with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 393 from 398 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 393

Let's proceed to step 4:
393 can be fit into 58 0 times, resulting in a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Deduct 0 from 58 and we're left with 58.
Include the next digit (9) from the dividend after 58, then repeat: 589 / 393

On to step 5:
If we divide 589 by 393, we get 1 and a remainder of 196.
Use 1 as the next digit of our solution. 
Result so far: 101.0
Subtract 393 from 589 to get 196.
Take the next digit (5) from the dividend and append it to 196, then repeat: 1965 / 393

Moving on to step 6:
The number 393 fits into 1965 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 1015.0
The remainder is 0 after subtracting 1965 from 1965.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 393

Advancing to step 7:
If we divide 8 by 393, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 10150.0
Subtract 0 from 8 to get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 393

Moving on to step 8:
The number 393 fits into 87 0 times, leaving a remainder of 87.
Write down 0 as next digit of the result. 
Result so far: 101500.0
The remainder is 87 after subtracting 0 from 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Going ahead to step 9:
When dividing 870 by 393, we get 2 with a remainder of 84.
Record the quotient 2 as the next digit in the result. 
Result so far: 101500.2
Deduct 786 from 870 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Advancing to step 10:
The number 393 fits into 840 2 times, leaving a remainder of 54.
The number 2 becomes the next digit in our result. 
Result so far: 101500.22
Deduct 786 from 840 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

The quotient of the division is 101500.22, and the remainder is 0.054.