We're dividing 597988 by 37 
Our goal is to divide 597988 by 37.

On to step 1:
When dividing 5 by 37, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 37

Moving on to step 2:
37 goes into 59 1 times with a remainder of 22.
The next digit of our result is 1. 
Result so far: 1.0
If we take 37 away from 59, we end up with 22.
Fetch the next digit (7) from the dividend, attach it to 22 and continue: 227 / 37

Step 3:
37 can be fit into 227 6 times, resulting in a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 16.0
Deduct 222 from 227 and we're left with 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 37

On to step 4:
If we divide 59 by 37, we get 1 and a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 161.0
Deduct 37 from 59 and we're left with 22.
Fetch the next digit (8) from the dividend, attach it to 22 and continue: 228 / 37

On to step 5:
When dividing 228 by 37, we get 6 with a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 1616.0
Subtract 222 from 228 to get 6.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 37

Going ahead to step 6:
When dividing 68 by 37, we get 1 with a remainder of 31.
Put 1 as the next digit of the answer. 
Result so far: 16161.0
Subtract 37 from 68 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 7:
When dividing 310 by 37, we get 8 with a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 16161.8
Subtract 296 from 310 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 8:
140 divided by 37 is 3 with a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 16161.83
Subtract 111 from 140 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 9:
290 divided by 37 is 7 with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 16161.837
Subtracting 259 from 290 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 10:
If we divide 310 by 37, we get 8 and a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 16161.8378
If we take 296 away from 310, we end up 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.

Going ahead to step 11:
37 can be fit into 140 3 times, resulting in a remainder of 29.
The number 3 becomes the next digit in our result. 
Result so far: 16161.83783
If we take 111 away from 140, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 12:
When dividing 290 by 37, we get 7 with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 16161.837837
Subtracting 259 from 290 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 13:
If we divide 310 by 37, we get 8 and a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 16161.8378378
The remainder is 14 after subtracting 296 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 14:
37 can be fit into 140 3 times, resulting in a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 16161.83783783
Subtracting 111 from 140 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

The final result is 16161.83783783 with a remainder of 2.9e-08.