We're dividing 512590 by 89 
Let's see how many times 89 fits into 512590.

Advancing to step 1:
The number 89 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 89

Moving on to step 2:
If we divide 51 by 89, we get 0 and a remainder of 51.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Take the next digit (2) from the dividend and append it to 51, then repeat: 512 / 89

Step 3:
The number 89 fits into 512 5 times, leaving a remainder of 67.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Deduct 445 from 512 and we're left with 67.
Take the next digit (5) from the dividend and append it to 67, then repeat: 675 / 89

On to step 4:
If we divide 675 by 89, we get 7 and a remainder of 52.
Use 7 as the next digit of our solution. 
Result so far: 57.0
If we subtract 623 from 675, we get 52.
Bring next digit (9) of the dividend behind the 52 and repeat the process: 529 / 89

Step 5:
89 goes into 529 5 times with a remainder of 84.
The number 5 becomes the next digit in our result. 
Result so far: 575.0
Subtract 445 from 529 to get 84.
Include the next digit (0) from the dividend after 84, then repeat: 840 / 89

Advancing to step 6:
89 goes into 840 9 times with a remainder of 39.
Record the quotient 9 as the next digit in the result. 
Result so far: 5759.0
Deduct 801 from 840 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Moving on to step 7:
The number 89 fits into 390 4 times, leaving a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 5759.4
The remainder is 34 after subtracting 356 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 8:
The number 89 fits into 340 3 times, leaving a remainder of 73.
Use 3 as the next digit of our solution. 
Result so far: 5759.43
Subtract 267 from 340 to get 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Going ahead to step 9:
89 goes into 730 8 times with a remainder of 18.
The number 8 becomes the next digit in our result. 
Result so far: 5759.438
Subtracting 712 from 730 leaves us 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.

Moving on to step 10:
89 goes into 180 2 times with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 5759.4382
The remainder is 2 after subtracting 178 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 11:
20 divided by 89 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 5759.4382
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 12:
When dividing 200 by 89, we get 2 with a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 5759.438202
The remainder is 22 after subtracting 178 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 13:
The number 89 fits into 220 2 times, leaving a remainder of 42.
Write down 2 as next digit of the result. 
Result so far: 5759.4382022
The remainder is 42 after subtracting 178 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

After the division, we end up with 5759.4382022 and a remainder of 4.2e-07.