We look at the division of 37997297 by 585 
We're looking to find how many times 585 goes into 37997297.

Moving on to step 1:
585 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 585

On to step 2:
585 can be fit into 37 0 times, resulting in a remainder of 37.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 37, we end up with 37.
Fetch the next digit (9) from the dividend, attach it to 37 and continue: 379 / 585

Step 3:
585 can be fit into 379 0 times, resulting in a remainder of 379.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 379 leaves us with 379.
Append the next digit (9) from the dividend to 379 and continue with: 3799 / 585

Going ahead to step 4:
When dividing 3799 by 585, we get 6 with a remainder of 289.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtracting 3510 from 3799 leaves us with 289.
Include the next digit (7) from the dividend after 289, then repeat: 2897 / 585

Moving on to step 5:
585 can be fit into 2897 4 times, resulting in a remainder of 557.
Put 4 as the next digit of the answer. 
Result so far: 64.0
If we take 2340 away from 2897, we end up with 557.
Grab the next digit (2) from the dividend, add it to 557, then carry on: 5572 / 585

Advancing to step 6:
585 goes into 5572 9 times with a remainder of 307.
The number 9 becomes the next digit in our result. 
Result so far: 649.0
Subtract 5265 from 5572 to get 307.
Append the next digit (9) from the dividend to 307 and continue with: 3079 / 585

Going ahead to step 7:
If we divide 3079 by 585, we get 5 and a remainder of 154.
The next digit of our result is 5. 
Result so far: 6495.0
If we take 2925 away from 3079, we end up with 154.
Take the next digit (7) from the dividend and append it to 154, then repeat: 1547 / 585

Let's proceed to step 8:
585 can be fit into 1547 2 times, resulting in a remainder of 377.
Put 2 as the next digit of the answer. 
Result so far: 64952.0
Subtract 1170 from 1547 to get 377.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3770, and continue the process.

Advancing to step 9:
If we divide 3770 by 585, we get 6 and a remainder of 260.
Record the quotient 6 as the next digit in the result. 
Result so far: 64952.6
Subtracting 3510 from 3770 leaves us with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Let's proceed to step 10:
585 can be fit into 2600 4 times, resulting in a remainder of 260.
Record the quotient 4 as the next digit in the result. 
Result so far: 64952.64
Subtract 2340 from 2600 to get 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Going ahead to step 11:
The number 585 fits into 2600 4 times, leaving a remainder of 260.
Write down 4 as next digit of the result. 
Result so far: 64952.644
Subtracting 2340 from 2600 leaves us with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

After the division, we end up with 64952.644 and a remainder of 0.026.