Let's divide 157331 by 47
We want to divide 157331 by 47.

Advancing to step 1:
The number 47 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
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 / 47

Step 2:
The number 47 fits into 15 0 times, leaving a remainder of 15.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 15, we end up with 15.
Include the next digit (7) from the dividend after 15, then repeat: 157 / 47

Step 3:
If we divide 157 by 47, we get 3 and a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 141 from 157 leaves us with 16.
Include the next digit (3) from the dividend after 16, then repeat: 163 / 47

Advancing to step 4:
163 divided by 47 is 3 with a remainder of 22.
The next digit of our result is 3. 
Result so far: 33.0
The remainder is 22 after subtracting 141 from 163.
Grab the next digit (3) from the dividend, add it to 22, then carry on: 223 / 47

Going ahead to step 5:
223 divided by 47 is 4 with a remainder of 35.
Write down 4 as next digit of the result. 
Result so far: 334.0
The remainder is 35 after subtracting 188 from 223.
Grab the next digit (1) from the dividend, add it to 35, then carry on: 351 / 47

Step 6:
The number 47 fits into 351 7 times, leaving a remainder of 22.
Write down 7 as next digit of the result. 
Result so far: 3347.0
The remainder is 22 after subtracting 329 from 351.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 7:
If we divide 220 by 47, we get 4 and a remainder of 32.
The next digit of our result is 4. 
Result so far: 3347.4
The remainder is 32 after subtracting 188 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 8:
If we divide 320 by 47, we get 6 and a remainder of 38.
Use 6 as the next digit of our solution. 
Result so far: 3347.46
Subtract 282 from 320 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 9:
47 can be fit into 380 8 times, resulting in a remainder of 4.
The next digit of our result is 8. 
Result so far: 3347.468
If we subtract 376 from 380, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
47 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 3347.468
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 11:
47 goes into 400 8 times with a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 3347.46808
The remainder is 24 after subtracting 376 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 12:
47 goes into 240 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 3347.468085
Deduct 235 from 240 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 13:
50 divided by 47 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 3347.4680851
If we subtract 47 from 50, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 14:
47 can be fit into 30 0 times, resulting in a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 3347.4680851
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final outcome is 3347.4680851, with a leftover of 3e-08.