We're dividing 583389 by 38 
We want to divide 583389 by 38.

On to step 1:
If we divide 5 by 38, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 38

Advancing to step 2:
The number 38 fits into 58 1 times, leaving a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 38 from 58 to get 20.
Grab the next digit (3) from the dividend, add it to 20, then carry on: 203 / 38

Step 3:
The number 38 fits into 203 5 times, leaving a remainder of 13.
Use 5 as the next digit of our solution. 
Result so far: 15.0
If we subtract 190 from 203, we get 13.
Fetch the next digit (3) from the dividend, attach it to 13 and continue: 133 / 38

Step 4:
If we divide 133 by 38, we get 3 and a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 153.0
The remainder is 19 after subtracting 114 from 133.
Include the next digit (8) from the dividend after 19, then repeat: 198 / 38

Step 5:
The number 38 fits into 198 5 times, leaving a remainder of 8.
Put 5 as the next digit of the answer. 
Result so far: 1535.0
Deduct 190 from 198 and we're left with 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 38

Moving on to step 6:
If we divide 89 by 38, we get 2 and a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 15352.0
The remainder is 13 after subtracting 76 from 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
38 goes into 130 3 times with a remainder of 16.
Record the quotient 3 as the next digit in the result. 
Result so far: 15352.3
Subtract 114 from 130 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 8:
If we divide 160 by 38, we get 4 and a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 15352.34
Deduct 152 from 160 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
80 divided by 38 is 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 15352.342
If we take 76 away from 80, we end up 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.

Step 10:
38 can be fit into 40 1 times, resulting in a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 15352.3421
If we take 38 away from 40, we end up 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.

Advancing to step 11:
38 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 15352.3421
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.

On to step 12:
When dividing 200 by 38, we get 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 15352.342105
If we subtract 190 from 200, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 13:
The number 38 fits into 100 2 times, leaving a remainder of 24.
The next digit of our result is 2. 
Result so far: 15352.3421052
Subtract 76 from 100 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 14:
When dividing 240 by 38, we get 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 15352.34210526
Deduct 228 from 240 and we're left 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.

Our division results in 15352.34210526 with a remaining 1.2e-08.