Let's divide 1040254 by 745
Our goal is to divide 1040254 by 745.

Step 1:
When dividing 1 by 745, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 745

Going ahead to step 2:
745 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 10 after subtracting 0 from 10.
Bring next digit (4) of the dividend behind the 10 and repeat the process: 104 / 745

On to step 3:
104 divided by 745 is 0 with a remainder of 104.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 104, we end up with 104.
Bring next digit (0) of the dividend behind the 104 and repeat the process: 1040 / 745

Moving on to step 4:
745 can be fit into 1040 1 times, resulting in a remainder of 295.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 745 from 1040 and we're left with 295.
Grab the next digit (2) from the dividend, add it to 295, then carry on: 2952 / 745

Moving on to step 5:
The number 745 fits into 2952 3 times, leaving a remainder of 717.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Deduct 2235 from 2952 and we're left with 717.
Grab the next digit (5) from the dividend, add it to 717, then carry on: 7175 / 745

Moving on to step 6:
The number 745 fits into 7175 9 times, leaving a remainder of 470.
The next digit of our result is 9. 
Result so far: 139.0
If we subtract 6705 from 7175, we get 470.
Grab the next digit (4) from the dividend, add it to 470, then carry on: 4704 / 745

Let's proceed to step 7:
745 can be fit into 4704 6 times, resulting in a remainder of 234.
Use 6 as the next digit of our solution. 
Result so far: 1396.0
If we subtract 4470 from 4704, we get 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

On to step 8:
When dividing 2340 by 745, we get 3 with a remainder of 105.
Use 3 as the next digit of our solution. 
Result so far: 1396.3
If we subtract 2235 from 2340, we get 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Step 9:
745 can be fit into 1050 1 times, resulting in a remainder of 305.
The next digit of our result is 1. 
Result so far: 1396.31
Subtract 745 from 1050 to get 305.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3050, and continue the process.

Let's proceed to step 10:
When dividing 3050 by 745, we get 4 with a remainder of 70.
Write down 4 as next digit of the result. 
Result so far: 1396.314
Subtract 2980 from 3050 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 11:
The number 745 fits into 700 0 times, leaving a remainder of 700.
Put 0 as the next digit of the answer. 
Result so far: 1396.314
If we take 0 away from 700, we end up with 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7000, and continue the process.

Let's proceed to step 12:
745 can be fit into 7000 9 times, resulting in a remainder of 295.
Write down 9 as next digit of the result. 
Result so far: 1396.31409
Subtract 6705 from 7000 to get 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Moving on to step 13:
745 goes into 2950 3 times with a remainder of 715.
The next digit of our result is 3. 
Result so far: 1396.314093
The remainder is 715 after subtracting 2235 from 2950.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7150, and continue the process.

Let's proceed to step 14:
745 can be fit into 7150 9 times, resulting in a remainder of 445.
The number 9 becomes the next digit in our result. 
Result so far: 1396.3140939
If we take 6705 away from 7150, we end up with 445.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

Let's proceed to step 15:
745 goes into 4450 5 times with a remainder of 725.
Write down 5 as next digit of the result. 
Result so far: 1396.31409395
Deduct 3725 from 4450 and we're left with 725.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7250, and continue the process.

The quotient of the division is 1396.31409395, and the remainder is 7.25e-07.