581227 ÷ 12 
We want to figure out the number of times 581227 can be divided by 12.

On to step 1:
When dividing 5 by 12, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 12

Let's proceed to step 2:
12 can be fit into 58 4 times, resulting in a remainder of 10.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we take 48 away from 58, we end up with 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 12

Advancing to step 3:
If we divide 101 by 12, we get 8 and a remainder of 5.
The next digit of our result is 8. 
Result so far: 48.0
Subtracting 96 from 101 leaves us with 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 12

Advancing to step 4:
If we divide 52 by 12, we get 4 and a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 484.0
Deduct 48 from 52 and we're left with 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 12

Moving on to step 5:
42 divided by 12 is 3 with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 4843.0
The remainder is 6 after subtracting 36 from 42.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 12

Going ahead to step 6:
When dividing 67 by 12, we get 5 with a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 48435.0
The remainder is 7 after subtracting 60 from 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
If we divide 70 by 12, we get 5 and a remainder of 10.
The next digit of our result is 5. 
Result so far: 48435.5
The remainder is 10 after subtracting 60 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
The number 12 fits into 100 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 48435.58
Subtract 96 from 100 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 9:
40 divided by 12 is 3 with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 48435.583
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
12 can be fit into 40 3 times, resulting in a remainder of 4.
The next digit of our result is 3. 
Result so far: 48435.5833
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 48435.5833 with a remainder of 4e-05.