313227 ÷ 59 
We're looking to find how many times 59 goes into 313227.

Step 1:
3 divided by 59 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 59

Going ahead to step 2:
59 goes into 31 0 times with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Grab the next digit (3) from the dividend, add it to 31, then carry on: 313 / 59

Moving on to step 3:
If we divide 313 by 59, we get 5 and a remainder of 18.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 295 from 313 leaves us with 18.
Grab the next digit (2) from the dividend, add it to 18, then carry on: 182 / 59

Step 4:
If we divide 182 by 59, we get 3 and a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 53.0
If we take 177 away from 182, we end up with 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 59

Let's proceed to step 5:
52 divided by 59 is 0 with a remainder of 52.
The next digit of our result is 0. 
Result so far: 530.0
If we take 0 away from 52, we end up with 52.
Include the next digit (7) from the dividend after 52, then repeat: 527 / 59

On to step 6:
527 divided by 59 is 8 with a remainder of 55.
Put 8 as the next digit of the answer. 
Result so far: 5308.0
The remainder is 55 after subtracting 472 from 527.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

On to step 7:
The number 59 fits into 550 9 times, leaving a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 5308.9
If we subtract 531 from 550, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 8:
59 can be fit into 190 3 times, resulting in a remainder of 13.
The number 3 becomes the next digit in our result. 
Result so far: 5308.93
Subtracting 177 from 190 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 9:
59 goes into 130 2 times with a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 5308.932
Subtracting 118 from 130 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 10:
When dividing 120 by 59, we get 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 5308.9322
Subtracting 118 from 120 leaves us 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.

Our division results in 5308.9322 with a remaining 2e-05.