We look at the division of 157874 by 30 
Our goal is to divide 157874 by 30.

Let's proceed to step 1:
If we divide 1 by 30, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 30

Advancing to step 2:
30 can be fit into 15 0 times, resulting in a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 30

On to step 3:
30 can be fit into 157 5 times, resulting in a remainder of 7.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 150 from 157 leaves us with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 30

Step 4:
78 divided by 30 is 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 52.0
The remainder is 18 after subtracting 60 from 78.
Take the next digit (7) from the dividend and append it to 18, then repeat: 187 / 30

Moving on to step 5:
30 can be fit into 187 6 times, resulting in a remainder of 7.
Write down 6 as next digit of the result. 
Result so far: 526.0
If we take 180 away from 187, we end up with 7.
Grab the next digit (4) from the dividend, add it to 7, then carry on: 74 / 30

On to step 6:
30 goes into 74 2 times with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 5262.0
The remainder is 14 after subtracting 60 from 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 7:
30 can be fit into 140 4 times, resulting in a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 5262.4
If we take 120 away from 140, 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 8:
The number 30 fits into 200 6 times, leaving a remainder of 20.
The next digit of our result is 6. 
Result so far: 5262.46
Deduct 180 from 200 and we're left 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.

Going ahead to step 9:
If we divide 200 by 30, we get 6 and a remainder of 20.
The next digit of our result is 6. 
Result so far: 5262.466
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 5262.466, with a leftover of 0.002.