Let's divide 40193560 by 387
Our goal is to divide 40193560 by 387.

On to step 1:
387 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 387

Moving on to step 2:
387 goes into 40 0 times with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 387

Going ahead to step 3:
387 can be fit into 401 1 times, resulting in a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 387 from 401 and we're left with 14.
Append the next digit (9) from the dividend to 14 and continue with: 149 / 387

Going ahead to step 4:
149 divided by 387 is 0 with a remainder of 149.
Write down 0 as next digit of the result. 
Result so far: 10.0
The remainder is 149 after subtracting 0 from 149.
Bring next digit (3) of the dividend behind the 149 and repeat the process: 1493 / 387

Let's proceed to step 5:
When dividing 1493 by 387, we get 3 with a remainder of 332.
Record the quotient 3 as the next digit in the result. 
Result so far: 103.0
If we take 1161 away from 1493, we end up with 332.
Append the next digit (5) from the dividend to 332 and continue with: 3325 / 387

Step 6:
387 goes into 3325 8 times with a remainder of 229.
Write down 8 as next digit of the result. 
Result so far: 1038.0
Subtracting 3096 from 3325 leaves us with 229.
Grab the next digit (6) from the dividend, add it to 229, then carry on: 2296 / 387

Moving on to step 7:
2296 divided by 387 is 5 with a remainder of 361.
Write down 5 as next digit of the result. 
Result so far: 10385.0
If we subtract 1935 from 2296, we get 361.
Fetch the next digit (0) from the dividend, attach it to 361 and continue: 3610 / 387

Moving on to step 8:
387 goes into 3610 9 times with a remainder of 127.
The number 9 becomes the next digit in our result. 
Result so far: 103859.0
Subtract 3483 from 3610 to get 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

Moving on to step 9:
When dividing 1270 by 387, we get 3 with a remainder of 109.
The next digit of our result is 3. 
Result so far: 103859.3
If we take 1161 away from 1270, we end up with 109.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1090, and continue the process.

Let's proceed to step 10:
If we divide 1090 by 387, we get 2 and a remainder of 316.
The number 2 becomes the next digit in our result. 
Result so far: 103859.32
The remainder is 316 after subtracting 774 from 1090.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Moving on to step 11:
If we divide 3160 by 387, we get 8 and a remainder of 64.
The next digit of our result is 8. 
Result so far: 103859.328
The remainder is 64 after subtracting 3096 from 3160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 12:
The number 387 fits into 640 1 times, leaving a remainder of 253.
Use 1 as the next digit of our solution. 
Result so far: 103859.3281
Deduct 387 from 640 and we're left with 253.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2530, and continue the process.

On to step 13:
2530 divided by 387 is 6 with a remainder of 208.
Put 6 as the next digit of the answer. 
Result so far: 103859.32816
If we subtract 2322 from 2530, we get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

On to step 14:
2080 divided by 387 is 5 with a remainder of 145.
The number 5 becomes the next digit in our result. 
Result so far: 103859.328165
Subtracting 1935 from 2080 leaves us with 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Let's proceed to step 15:
387 goes into 1450 3 times with a remainder of 289.
Write down 3 as next digit of the result. 
Result so far: 103859.3281653
Subtract 1161 from 1450 to get 289.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2890, and continue the process.

Moving on to step 16:
2890 divided by 387 is 7 with a remainder of 181.
The number 7 becomes the next digit in our result. 
Result so far: 103859.32816537
If we subtract 2709 from 2890, we get 181.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1810, and continue the process.

In conclusion, the division gives 103859.32816537 with a balance of 1.81e-07.