We're dividing 40608138 by 402 
We want to divide 40608138 by 402.

Advancing to step 1:
The number 402 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 402

Step 2:
The number 402 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Grab the next digit (6) from the dividend, add it to 40, then carry on: 406 / 402

Advancing to step 3:
402 goes into 406 1 times with a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 402 from 406 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 402

Step 4:
The number 402 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 10.0
If we subtract 0 from 40, we get 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 402

Advancing to step 5:
402 can be fit into 408 1 times, resulting in a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 101.0
Subtract 402 from 408 to get 6.
Bring next digit (1) of the dividend behind the 6 and repeat the process: 61 / 402

Let's proceed to step 6:
402 can be fit into 61 0 times, resulting in a remainder of 61.
The next digit of our result is 0. 
Result so far: 1010.0
Deduct 0 from 61 and we're left with 61.
Bring next digit (3) of the dividend behind the 61 and repeat the process: 613 / 402

Let's proceed to step 7:
613 divided by 402 is 1 with a remainder of 211.
The number 1 becomes the next digit in our result. 
Result so far: 10101.0
Deduct 402 from 613 and we're left with 211.
Take the next digit (8) from the dividend and append it to 211, then repeat: 2118 / 402

Step 8:
If we divide 2118 by 402, we get 5 and a remainder of 108.
Write down 5 as next digit of the result. 
Result so far: 101015.0
If we take 2010 away from 2118, we end up with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

On to step 9:
If we divide 1080 by 402, we get 2 and a remainder of 276.
Record the quotient 2 as the next digit in the result. 
Result so far: 101015.2
If we subtract 804 from 1080, we get 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Advancing to step 10:
402 goes into 2760 6 times with a remainder of 348.
Record the quotient 6 as the next digit in the result. 
Result so far: 101015.26
Deduct 2412 from 2760 and we're left with 348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

Moving on to step 11:
The number 402 fits into 3480 8 times, leaving a remainder of 264.
Put 8 as the next digit of the answer. 
Result so far: 101015.268
Subtract 3216 from 3480 to get 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

On to step 12:
402 can be fit into 2640 6 times, resulting in a remainder of 228.
Use 6 as the next digit of our solution. 
Result so far: 101015.2686
If we take 2412 away from 2640, we end up with 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Let's proceed to step 13:
If we divide 2280 by 402, we get 5 and a remainder of 270.
Write down 5 as next digit of the result. 
Result so far: 101015.26865
If we subtract 2010 from 2280, we get 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Going ahead to step 14:
If we divide 2700 by 402, we get 6 and a remainder of 288.
The next digit of our result is 6. 
Result so far: 101015.268656
If we subtract 2412 from 2700, we get 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Moving on to step 15:
If we divide 2880 by 402, we get 7 and a remainder of 66.
The next digit of our result is 7. 
Result so far: 101015.2686567
If we subtract 2814 from 2880, we get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

On to step 16:
660 divided by 402 is 1 with a remainder of 258.
Write down 1 as next digit of the result. 
Result so far: 101015.26865671
Deduct 402 from 660 and we're left with 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

The quotient of the division is 101015.26865671, and the remainder is 2.58e-07.