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

Going ahead to step 1:
The number 99 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 99

Going ahead to step 2:
If we divide 39 by 99, we get 0 and a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 99

Going ahead to step 3:
397 divided by 99 is 4 with a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 396 from 397, we get 1.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 99

On to step 4:
When dividing 14 by 99, we get 0 with a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 40.0
The remainder is 14 after subtracting 0 from 14.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 99

Advancing to step 5:
If we divide 148 by 99, we get 1 and a remainder of 49.
The number 1 becomes the next digit in our result. 
Result so far: 401.0
If we subtract 99 from 148, we get 49.
Grab the next digit (5) from the dividend, add it to 49, then carry on: 495 / 99

Going ahead to step 6:
495 divided by 99 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 4015.0
Subtract 495 from 495 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 7:
The number 99 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 4015.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
The number 99 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 4015.0
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.

Our division results in 4015.0 with a remaining 0.0.