We divide 1258338 by 585
We want to figure out the number of times 1258338 can be divided by 585.

Advancing to step 1:
585 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 585

Let's proceed to step 2:
When dividing 12 by 585, we get 0 with a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Take the next digit (5) from the dividend and append it to 12, then repeat: 125 / 585

Going ahead to step 3:
If we divide 125 by 585, we get 0 and a remainder of 125.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 125, we get 125.
Grab the next digit (8) from the dividend, add it to 125, then carry on: 1258 / 585

Step 4:
If we divide 1258 by 585, we get 2 and a remainder of 88.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 1170 from 1258, we get 88.
Bring next digit (3) of the dividend behind the 88 and repeat the process: 883 / 585

On to step 5:
585 goes into 883 1 times with a remainder of 298.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
The remainder is 298 after subtracting 585 from 883.
Append the next digit (3) from the dividend to 298 and continue with: 2983 / 585

Moving on to step 6:
If we divide 2983 by 585, we get 5 and a remainder of 58.
Write down 5 as next digit of the result. 
Result so far: 215.0
If we take 2925 away from 2983, we end up with 58.
Take the next digit (8) from the dividend and append it to 58, then repeat: 588 / 585

Let's proceed to step 7:
When dividing 588 by 585, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 2151.0
If we take 585 away from 588, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 8:
585 goes into 30 0 times with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 2151.0
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 9:
300 divided by 585 is 0 with a remainder of 300.
Use 0 as the next digit of our solution. 
Result so far: 2151.0
The remainder is 300 after subtracting 0 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Our division results in 2151.0 with a remaining 0.3.