Let's divide 4034045 by 402
Our goal is to divide 4034045 by 402.

Going ahead to step 1:
402 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 402

Advancing to step 2:
If we divide 40 by 402, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Fetch the next digit (3) from the dividend, attach it to 40 and continue: 403 / 402

Step 3:
The number 402 fits into 403 1 times, leaving a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 402 from 403 and we're left with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 402

On to step 4:
14 divided by 402 is 0 with a remainder of 14.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtract 0 from 14 to get 14.
Bring next digit (0) of the dividend behind the 14 and repeat the process: 140 / 402

On to step 5:
If we divide 140 by 402, we get 0 and a remainder of 140.
The number 0 becomes the next digit in our result. 
Result so far: 100.0
Deduct 0 from 140 and we're left with 140.
Take the next digit (4) from the dividend and append it to 140, then repeat: 1404 / 402

Step 6:
1404 divided by 402 is 3 with a remainder of 198.
Record the quotient 3 as the next digit in the result. 
Result so far: 1003.0
Subtracting 1206 from 1404 leaves us with 198.
Grab the next digit (5) from the dividend, add it to 198, then carry on: 1985 / 402

Let's proceed to step 7:
The number 402 fits into 1985 4 times, leaving a remainder of 377.
Put 4 as the next digit of the answer. 
Result so far: 10034.0
If we take 1608 away from 1985, we end up with 377.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3770, and continue the process.

Advancing to step 8:
3770 divided by 402 is 9 with a remainder of 152.
The next digit of our result is 9. 
Result so far: 10034.9
Subtract 3618 from 3770 to get 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Step 9:
1520 divided by 402 is 3 with a remainder of 314.
The next digit of our result is 3. 
Result so far: 10034.93
If we take 1206 away from 1520, we end up with 314.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3140, and continue the process.

Let's proceed to step 10:
402 can be fit into 3140 7 times, resulting in a remainder of 326.
Record the quotient 7 as the next digit in the result. 
Result so far: 10034.937
Deduct 2814 from 3140 and we're left with 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

Moving on to step 11:
The number 402 fits into 3260 8 times, leaving a remainder of 44.
Record the quotient 8 as the next digit in the result. 
Result so far: 10034.9378
The remainder is 44 after subtracting 3216 from 3260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 12:
402 can be fit into 440 1 times, resulting in a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 10034.93781
Deduct 402 from 440 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 13:
If we divide 380 by 402, we get 0 and a remainder of 380.
Record the quotient 0 as the next digit in the result. 
Result so far: 10034.93781
Subtract 0 from 380 to get 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

On to step 14:
402 can be fit into 3800 9 times, resulting in a remainder of 182.
Record the quotient 9 as the next digit in the result. 
Result so far: 10034.9378109
Subtract 3618 from 3800 to get 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Advancing to step 15:
When dividing 1820 by 402, we get 4 with a remainder of 212.
Record the quotient 4 as the next digit in the result. 
Result so far: 10034.93781094
If we subtract 1608 from 1820, we get 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

The final outcome is 10034.93781094, with a leftover of 2.12e-07.