Let's divide 10001178 by 641
We want to divide 10001178 by 641.

Let's proceed to step 1:
The number 641 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 641

Moving on to step 2:
When dividing 10 by 641, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 10 after subtracting 0 from 10.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 641

On to step 3:
The number 641 fits into 100 0 times, leaving a remainder of 100.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 100 to get 100.
Fetch the next digit (0) from the dividend, attach it to 100 and continue: 1000 / 641

Advancing to step 4:
641 goes into 1000 1 times with a remainder of 359.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 359 after subtracting 641 from 1000.
Bring next digit (1) of the dividend behind the 359 and repeat the process: 3591 / 641

Step 5:
If we divide 3591 by 641, we get 5 and a remainder of 386.
Write down 5 as next digit of the result. 
Result so far: 15.0
If we take 3205 away from 3591, we end up with 386.
Bring next digit (1) of the dividend behind the 386 and repeat the process: 3861 / 641

Advancing to step 6:
641 goes into 3861 6 times with a remainder of 15.
Put 6 as the next digit of the answer. 
Result so far: 156.0
If we take 3846 away from 3861, we end up with 15.
Append the next digit (7) from the dividend to 15 and continue with: 157 / 641

Going ahead to step 7:
When dividing 157 by 641, we get 0 with a remainder of 157.
Write down 0 as next digit of the result. 
Result so far: 1560.0
If we subtract 0 from 157, we get 157.
Append the next digit (8) from the dividend to 157 and continue with: 1578 / 641

Step 8:
641 can be fit into 1578 2 times, resulting in a remainder of 296.
Put 2 as the next digit of the answer. 
Result so far: 15602.0
If we subtract 1282 from 1578, we get 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

On to step 9:
When dividing 2960 by 641, we get 4 with a remainder of 396.
Use 4 as the next digit of our solution. 
Result so far: 15602.4
Deduct 2564 from 2960 and we're left with 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

Moving on to step 10:
The number 641 fits into 3960 6 times, leaving a remainder of 114.
The next digit of our result is 6. 
Result so far: 15602.46
Deduct 3846 from 3960 and we're left with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Step 11:
1140 divided by 641 is 1 with a remainder of 499.
Put 1 as the next digit of the answer. 
Result so far: 15602.461
The remainder is 499 after subtracting 641 from 1140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4990, and continue the process.

Advancing to step 12:
The number 641 fits into 4990 7 times, leaving a remainder of 503.
Write down 7 as next digit of the result. 
Result so far: 15602.4617
If we subtract 4487 from 4990, we get 503.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5030, and continue the process.

Let's proceed to step 13:
When dividing 5030 by 641, we get 7 with a remainder of 543.
Put 7 as the next digit of the answer. 
Result so far: 15602.46177
Subtract 4487 from 5030 to get 543.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5430, and continue the process.

After the division, we end up with 15602.46177 and a remainder of 0.000543.