397777 ÷ 38 
We want to figure out the number of times 397777 can be divided by 38.

Advancing to step 1:
If we divide 3 by 38, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 38

Step 2:
38 goes into 39 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 38 from 39, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 38

On to step 3:
17 divided by 38 is 0 with a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Deduct 0 from 17 and we're left with 17.
Fetch the next digit (7) from the dividend, attach it to 17 and continue: 177 / 38

Advancing to step 4:
177 divided by 38 is 4 with a remainder of 25.
The number 4 becomes the next digit in our result. 
Result so far: 104.0
If we take 152 away from 177, we end up with 25.
Include the next digit (7) from the dividend after 25, then repeat: 257 / 38

Advancing to step 5:
The number 38 fits into 257 6 times, leaving a remainder of 29.
Use 6 as the next digit of our solution. 
Result so far: 1046.0
Deduct 228 from 257 and we're left with 29.
Append the next digit (7) from the dividend to 29 and continue with: 297 / 38

On to step 6:
297 divided by 38 is 7 with a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 10467.0
Subtracting 266 from 297 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 7:
38 goes into 310 8 times with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 10467.8
If we subtract 304 from 310, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
The number 38 fits into 60 1 times, leaving a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 10467.81
If we subtract 38 from 60, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 9:
The number 38 fits into 220 5 times, leaving a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 10467.815
Deduct 190 from 220 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 10:
When dividing 300 by 38, we get 7 with a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 10467.8157
The remainder is 34 after subtracting 266 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 11:
38 goes into 340 8 times with a remainder of 36.
The next digit of our result is 8. 
Result so far: 10467.81578
Subtracting 304 from 340 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 12:
38 goes into 360 9 times with a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 10467.815789
If we take 342 away from 360, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 13:
If we divide 180 by 38, we get 4 and a remainder of 28.
The next digit of our result is 4. 
Result so far: 10467.8157894
The remainder is 28 after subtracting 152 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 14:
The number 38 fits into 280 7 times, leaving a remainder of 14.
The next digit of our result is 7. 
Result so far: 10467.81578947
If we take 266 away from 280, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

In conclusion, the division gives 10467.81578947 with a balance of 1.4e-08.