We divide 35938189 by 797
We want to divide 35938189 by 797.

Step 1:
The number 797 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 797

Advancing to step 2:
When dividing 35 by 797, we get 0 with a remainder of 35.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 35 to get 35.
Fetch the next digit (9) from the dividend, attach it to 35 and continue: 359 / 797

Step 3:
When dividing 359 by 797, we get 0 with a remainder of 359.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 359, we end up with 359.
Fetch the next digit (3) from the dividend, attach it to 359 and continue: 3593 / 797

Moving on to step 4:
The number 797 fits into 3593 4 times, leaving a remainder of 405.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we take 3188 away from 3593, we end up with 405.
Take the next digit (8) from the dividend and append it to 405, then repeat: 4058 / 797

Advancing to step 5:
The number 797 fits into 4058 5 times, leaving a remainder of 73.
Write down 5 as next digit of the result. 
Result so far: 45.0
Subtracting 3985 from 4058 leaves us with 73.
Take the next digit (1) from the dividend and append it to 73, then repeat: 731 / 797

Advancing to step 6:
When dividing 731 by 797, we get 0 with a remainder of 731.
The next digit of our result is 0. 
Result so far: 450.0
Deduct 0 from 731 and we're left with 731.
Bring next digit (8) of the dividend behind the 731 and repeat the process: 7318 / 797

Advancing to step 7:
797 goes into 7318 9 times with a remainder of 145.
Put 9 as the next digit of the answer. 
Result so far: 4509.0
If we take 7173 away from 7318, we end up with 145.
Take the next digit (9) from the dividend and append it to 145, then repeat: 1459 / 797

Moving on to step 8:
797 goes into 1459 1 times with a remainder of 662.
Write down 1 as next digit of the result. 
Result so far: 45091.0
If we take 797 away from 1459, we end up with 662.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6620, and continue the process.

Step 9:
6620 divided by 797 is 8 with a remainder of 244.
The next digit of our result is 8. 
Result so far: 45091.8
Subtracting 6376 from 6620 leaves us with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

On to step 10:
If we divide 2440 by 797, we get 3 and a remainder of 49.
The number 3 becomes the next digit in our result. 
Result so far: 45091.83
The remainder is 49 after subtracting 2391 from 2440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

On to step 11:
490 divided by 797 is 0 with a remainder of 490.
Record the quotient 0 as the next digit in the result. 
Result so far: 45091.83
Subtract 0 from 490 to get 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

On to step 12:
4900 divided by 797 is 6 with a remainder of 118.
Use 6 as the next digit of our solution. 
Result so far: 45091.8306
Subtracting 4782 from 4900 leaves us with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Advancing to step 13:
The number 797 fits into 1180 1 times, leaving a remainder of 383.
Put 1 as the next digit of the answer. 
Result so far: 45091.83061
Subtract 797 from 1180 to get 383.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3830, and continue the process.

Going ahead to step 14:
The number 797 fits into 3830 4 times, leaving a remainder of 642.
Put 4 as the next digit of the answer. 
Result so far: 45091.830614
The remainder is 642 after subtracting 3188 from 3830.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6420, and continue the process.

On to step 15:
If we divide 6420 by 797, we get 8 and a remainder of 44.
Record the quotient 8 as the next digit in the result. 
Result so far: 45091.8306148
If we take 6376 away from 6420, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 16:
440 divided by 797 is 0 with a remainder of 440.
Put 0 as the next digit of the answer. 
Result so far: 45091.8306148
If we take 0 away from 440, we end up with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

After the division, we end up with 45091.8306148 and a remainder of 4.4e-07.