We're dividing 585840 by 47 
Our goal is to divide 585840 by 47.

Moving on to step 1:
If we divide 5 by 47, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 47

Let's proceed to step 2:
When dividing 58 by 47, we get 1 with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 47 from 58 to get 11.
Bring next digit (5) of the dividend behind the 11 and repeat the process: 115 / 47

Moving on to step 3:
If we divide 115 by 47, we get 2 and a remainder of 21.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we take 94 away from 115, we end up with 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 47

Step 4:
47 can be fit into 218 4 times, resulting in a remainder of 30.
The next digit of our result is 4. 
Result so far: 124.0
Deduct 188 from 218 and we're left with 30.
Include the next digit (4) from the dividend after 30, then repeat: 304 / 47

Advancing to step 5:
47 can be fit into 304 6 times, resulting in a remainder of 22.
Write down 6 as next digit of the result. 
Result so far: 1246.0
Subtracting 282 from 304 leaves us with 22.
Append the next digit (0) from the dividend to 22 and continue with: 220 / 47

Step 6:
If we divide 220 by 47, we get 4 and a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 12464.0
Deduct 188 from 220 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 7:
If we divide 320 by 47, we get 6 and a remainder of 38.
Put 6 as the next digit of the answer. 
Result so far: 12464.6
The remainder is 38 after subtracting 282 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 8:
47 goes into 380 8 times with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 12464.68
Deduct 376 from 380 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 9:
The number 47 fits into 40 0 times, leaving a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 12464.68
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 10:
The number 47 fits into 400 8 times, leaving a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 12464.6808
The remainder is 24 after subtracting 376 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 11:
The number 47 fits into 240 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 12464.68085
The remainder is 5 after subtracting 235 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 12:
47 can be fit into 50 1 times, resulting in a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 12464.680851
Deduct 47 from 50 and we're left 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 13:
30 divided by 47 is 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 12464.680851
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 14:
If we divide 300 by 47, we get 6 and a remainder of 18.
The next digit of our result is 6. 
Result so far: 12464.68085106
If we take 282 away from 300, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 12464.68085106 and a remainder of 1.8e-08.