40314522 divided by 646 
We want to figure out the number of times 40314522 can be divided by 646.

Moving on to step 1:
If we divide 4 by 646, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 646

Moving on to step 2:
When dividing 40 by 646, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Fetch the next digit (3) from the dividend, attach it to 40 and continue: 403 / 646

Step 3:
646 goes into 403 0 times with a remainder of 403.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 403 to get 403.
Append the next digit (1) from the dividend to 403 and continue with: 4031 / 646

Step 4:
When dividing 4031 by 646, we get 6 with a remainder of 155.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 3876 from 4031, we get 155.
Append the next digit (4) from the dividend to 155 and continue with: 1554 / 646

Step 5:
If we divide 1554 by 646, we get 2 and a remainder of 262.
Put 2 as the next digit of the answer. 
Result so far: 62.0
The remainder is 262 after subtracting 1292 from 1554.
Include the next digit (5) from the dividend after 262, then repeat: 2625 / 646

Moving on to step 6:
If we divide 2625 by 646, we get 4 and a remainder of 41.
Use 4 as the next digit of our solution. 
Result so far: 624.0
If we take 2584 away from 2625, we end up with 41.
Include the next digit (2) from the dividend after 41, then repeat: 412 / 646

Going ahead to step 7:
412 divided by 646 is 0 with a remainder of 412.
Write down 0 as next digit of the result. 
Result so far: 6240.0
If we take 0 away from 412, we end up with 412.
Fetch the next digit (2) from the dividend, attach it to 412 and continue: 4122 / 646

Going ahead to step 8:
If we divide 4122 by 646, we get 6 and a remainder of 246.
Record the quotient 6 as the next digit in the result. 
Result so far: 62406.0
Subtract 3876 from 4122 to get 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Step 9:
The number 646 fits into 2460 3 times, leaving a remainder of 522.
Record the quotient 3 as the next digit in the result. 
Result so far: 62406.3
Subtracting 1938 from 2460 leaves us with 522.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

On to step 10:
The number 646 fits into 5220 8 times, leaving a remainder of 52.
Record the quotient 8 as the next digit in the result. 
Result so far: 62406.38
Deduct 5168 from 5220 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 11:
646 can be fit into 520 0 times, resulting in a remainder of 520.
Use 0 as the next digit of our solution. 
Result so far: 62406.38
If we subtract 0 from 520, we get 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Step 12:
The number 646 fits into 5200 8 times, leaving a remainder of 32.
Write down 8 as next digit of the result. 
Result so far: 62406.3808
If we subtract 5168 from 5200, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 13:
When dividing 320 by 646, we get 0 with a remainder of 320.
Write down 0 as next digit of the result. 
Result so far: 62406.3808
Subtract 0 from 320 to get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Going ahead to step 14:
When dividing 3200 by 646, we get 4 with a remainder of 616.
Write down 4 as next digit of the result. 
Result so far: 62406.380804
If we take 2584 away from 3200, we end up with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

Step 15:
If we divide 6160 by 646, we get 9 and a remainder of 346.
Record the quotient 9 as the next digit in the result. 
Result so far: 62406.3808049
If we take 5814 away from 6160, we end up with 346.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3460, and continue the process.

Step 16:
3460 divided by 646 is 5 with a remainder of 230.
Write down 5 as next digit of the result. 
Result so far: 62406.38080495
Subtracting 3230 from 3460 leaves us with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

The final result is 62406.38080495 with a remainder of 2.3e-07.