We're dividing 10040858 by 178 
We want to figure out the number of times 10040858 can be divided by 178.

Advancing to step 1:
The number 178 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 178

Advancing to step 2:
10 divided by 178 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 10, we end up with 10.
Grab the next digit (0) from the dividend, add it to 10, then carry on: 100 / 178

Going ahead to step 3:
When dividing 100 by 178, we get 0 with a remainder of 100.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 100, we get 100.
Fetch the next digit (4) from the dividend, attach it to 100 and continue: 1004 / 178

On to step 4:
If we divide 1004 by 178, we get 5 and a remainder of 114.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 890 away from 1004, we end up with 114.
Take the next digit (0) from the dividend and append it to 114, then repeat: 1140 / 178

Moving on to step 5:
The number 178 fits into 1140 6 times, leaving a remainder of 72.
Write down 6 as next digit of the result. 
Result so far: 56.0
Deduct 1068 from 1140 and we're left with 72.
Fetch the next digit (8) from the dividend, attach it to 72 and continue: 728 / 178

Step 6:
728 divided by 178 is 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 564.0
Subtract 712 from 728 to get 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 178

Step 7:
165 divided by 178 is 0 with a remainder of 165.
Put 0 as the next digit of the answer. 
Result so far: 5640.0
If we take 0 away from 165, we end up with 165.
Grab the next digit (8) from the dividend, add it to 165, then carry on: 1658 / 178

Going ahead to step 8:
178 can be fit into 1658 9 times, resulting in a remainder of 56.
Write down 9 as next digit of the result. 
Result so far: 56409.0
If we subtract 1602 from 1658, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 9:
560 divided by 178 is 3 with a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 56409.3
If we subtract 534 from 560, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 10:
178 can be fit into 260 1 times, resulting in a remainder of 82.
Use 1 as the next digit of our solution. 
Result so far: 56409.31
Deduct 178 from 260 and we're left with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Going ahead to step 11:
820 divided by 178 is 4 with a remainder of 108.
Write down 4 as next digit of the result. 
Result so far: 56409.314
The remainder is 108 after subtracting 712 from 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Going ahead to step 12:
1080 divided by 178 is 6 with a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 56409.3146
Subtracting 1068 from 1080 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 13:
If we divide 120 by 178, we get 0 and a remainder of 120.
Put 0 as the next digit of the answer. 
Result so far: 56409.3146
If we subtract 0 from 120, we get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Moving on to step 14:
178 can be fit into 1200 6 times, resulting in a remainder of 132.
Put 6 as the next digit of the answer. 
Result so far: 56409.314606
If we subtract 1068 from 1200, we get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

On to step 15:
When dividing 1320 by 178, we get 7 with a remainder of 74.
Use 7 as the next digit of our solution. 
Result so far: 56409.3146067
Subtracting 1246 from 1320 leaves us with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Advancing to step 16:
178 goes into 740 4 times with a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 56409.31460674
If we subtract 712 from 740, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final result is 56409.31460674 with a remainder of 2.8e-08.