We're dividing 793187 by 37 
We want to divide 793187 by 37.

On to step 1:
37 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 37

Advancing to step 2:
37 can be fit into 79 2 times, resulting in a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 74 from 79 and we're left with 5.
Include the next digit (3) from the dividend after 5, then repeat: 53 / 37

Step 3:
37 goes into 53 1 times with a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
The remainder is 16 after subtracting 37 from 53.
Grab the next digit (1) from the dividend, add it to 16, then carry on: 161 / 37

Going ahead to step 4:
If we divide 161 by 37, we get 4 and a remainder of 13.
The number 4 becomes the next digit in our result. 
Result so far: 214.0
Subtracting 148 from 161 leaves us with 13.
Append the next digit (8) from the dividend to 13 and continue with: 138 / 37

Step 5:
37 goes into 138 3 times with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 2143.0
If we subtract 111 from 138, we get 27.
Bring next digit (7) of the dividend behind the 27 and repeat the process: 277 / 37

Step 6:
When dividing 277 by 37, we get 7 with a remainder of 18.
Write down 7 as next digit of the result. 
Result so far: 21437.0
If we subtract 259 from 277, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 7:
The number 37 fits into 180 4 times, leaving a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 21437.4
The remainder is 32 after subtracting 148 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 8:
320 divided by 37 is 8 with a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 21437.48
If we subtract 296 from 320, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 9:
37 can be fit into 240 6 times, resulting in a remainder of 18.
The next digit of our result is 6. 
Result so far: 21437.486
The remainder is 18 after subtracting 222 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 10:
When dividing 180 by 37, we get 4 with a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 21437.4864
Subtracting 148 from 180 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 11:
320 divided by 37 is 8 with a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 21437.48648
Subtracting 296 from 320 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 12:
37 can be fit into 240 6 times, resulting in a remainder of 18.
Put 6 as the next digit of the answer. 
Result so far: 21437.486486
Subtract 222 from 240 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 13:
180 divided by 37 is 4 with a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 21437.4864864
If we subtract 148 from 180, 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.

Let's proceed to step 14:
37 goes into 320 8 times with a remainder of 24.
The next digit of our result is 8. 
Result so far: 21437.48648648
If we subtract 296 from 320, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

After the division, we end up with 21437.48648648 and a remainder of 2.4e-08.