Let's divide 646731 by 38
Our goal is to divide 646731 by 38.

Going ahead to step 1:
38 can be fit into 6 0 times, resulting in a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 38

On to step 2:
64 divided by 38 is 1 with a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 38 from 64 and we're left with 26.
Fetch the next digit (6) from the dividend, attach it to 26 and continue: 266 / 38

Moving on to step 3:
266 divided by 38 is 7 with a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
If we subtract 266 from 266, we get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 38

Going ahead to step 4:
If we divide 7 by 38, we get 0 and a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 170.0
If we subtract 0 from 7, we get 7.
Grab the next digit (3) from the dividend, add it to 7, then carry on: 73 / 38

Going ahead to step 5:
38 goes into 73 1 times with a remainder of 35.
The next digit of our result is 1. 
Result so far: 1701.0
Deduct 38 from 73 and we're left with 35.
Fetch the next digit (1) from the dividend, attach it to 35 and continue: 351 / 38

Moving on to step 6:
38 goes into 351 9 times with a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 17019.0
Deduct 342 from 351 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
38 can be fit into 90 2 times, resulting in a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 17019.2
Deduct 76 from 90 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 8:
38 can be fit into 140 3 times, resulting in a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 17019.23
Deduct 114 from 140 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 9:
When dividing 260 by 38, we get 6 with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 17019.236
The remainder is 32 after subtracting 228 from 260.
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 10:
When dividing 320 by 38, we get 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 17019.2368
Subtract 304 from 320 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 11:
38 can be fit into 160 4 times, resulting in a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 17019.23684
Subtracting 152 from 160 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 12:
38 goes into 80 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 17019.236842
Subtracting 76 from 80 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 13:
40 divided by 38 is 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 17019.2368421
Subtract 38 from 40 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 14:
38 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 17019.2368421
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final result is 17019.2368421 with a remainder of 2e-08.