We're dividing 597317 by 12 
We want to figure out the number of times 597317 can be divided by 12.

Step 1:
If we divide 5 by 12, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 12

Moving on to step 2:
If we divide 59 by 12, we get 4 and a remainder of 11.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 48 from 59, we get 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 12

Moving on to step 3:
When dividing 117 by 12, we get 9 with a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 49.0
If we take 108 away from 117, we end up with 9.
Include the next digit (3) from the dividend after 9, then repeat: 93 / 12

Going ahead to step 4:
If we divide 93 by 12, we get 7 and a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 497.0
If we subtract 84 from 93, we get 9.
Take the next digit (1) from the dividend and append it to 9, then repeat: 91 / 12

Advancing to step 5:
12 goes into 91 7 times with a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 4977.0
Subtracting 84 from 91 leaves us with 7.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 12

Moving on to step 6:
When dividing 77 by 12, we get 6 with a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 49776.0
If we take 72 away from 77, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
When dividing 50 by 12, we get 4 with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 49776.4
Deduct 48 from 50 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
If we divide 20 by 12, we get 1 and a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 49776.41
Deduct 12 from 20 and we're left 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.

Step 9:
12 goes into 80 6 times with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 49776.416
If we subtract 72 from 80, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 10:
The number 12 fits into 80 6 times, leaving a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 49776.4166
If we subtract 72 from 80, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 49776.4166, and the remainder is 8e-05.