We look at the division of 297157 by 30 
We're looking to find how many times 30 goes into 297157.

Going ahead to step 1:
If we divide 2 by 30, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 30

Let's proceed to step 2:
29 divided by 30 is 0 with a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Fetch the next digit (7) from the dividend, attach it to 29 and continue: 297 / 30

On to step 3:
If we divide 297 by 30, we get 9 and a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 9.0
If we subtract 270 from 297, we get 27.
Fetch the next digit (1) from the dividend, attach it to 27 and continue: 271 / 30

Let's proceed to step 4:
30 goes into 271 9 times with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 99.0
If we subtract 270 from 271, we get 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 30

Going ahead to step 5:
If we divide 15 by 30, we get 0 and a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 990.0
The remainder is 15 after subtracting 0 from 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 30

Going ahead to step 6:
The number 30 fits into 157 5 times, leaving a remainder of 7.
The number 5 becomes the next digit in our result. 
Result so far: 9905.0
If we subtract 150 from 157, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 7:
The number 30 fits into 70 2 times, leaving a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 9905.2
Subtracting 60 from 70 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
When dividing 100 by 30, we get 3 with a remainder of 10.
The next digit of our result is 3. 
Result so far: 9905.23
Deduct 90 from 100 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 9:
30 goes into 100 3 times with a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 9905.233
Deduct 90 from 100 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 9905.233 with a remainder of 0.001.