Let's divide 874965 by 30
We want to figure out the number of times 874965 can be divided by 30.

Step 1:
The number 30 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 30

Moving on to step 2:
The number 30 fits into 87 2 times, leaving a remainder of 27.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 60 from 87 to get 27.
Include the next digit (4) from the dividend after 27, then repeat: 274 / 30

Advancing to step 3:
If we divide 274 by 30, we get 9 and a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
Subtract 270 from 274 to get 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 30

Step 4:
30 goes into 49 1 times with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 291.0
Subtracting 30 from 49 leaves us with 19.
Bring next digit (6) of the dividend behind the 19 and repeat the process: 196 / 30

Step 5:
If we divide 196 by 30, we get 6 and a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 2916.0
Subtracting 180 from 196 leaves us with 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 30

Moving on to step 6:
30 can be fit into 165 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 29165.0
Subtract 150 from 165 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 7:
The number 30 fits into 150 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 29165.5
Subtracting 150 from 150 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
If we divide 0 by 30, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 29165.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
30 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 29165.5
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 29165.5 with a balance of 0.0.