We're dividing 398145 by 10 
We're looking to find how many times 10 goes into 398145.

Let's proceed to step 1:
When dividing 3 by 10, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 10

Step 2:
If we divide 39 by 10, we get 3 and a remainder of 9.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 30 from 39, we get 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 10

Let's proceed to step 3:
If we divide 98 by 10, we get 9 and a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 39.0
If we take 90 away from 98, we end up with 8.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 10

Advancing to step 4:
If we divide 81 by 10, we get 8 and a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 398.0
Subtract 80 from 81 to get 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 10

On to step 5:
When dividing 14 by 10, we get 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 3981.0
If we take 10 away from 14, we end up with 4.
Append the next digit (5) from the dividend to 4 and continue with: 45 / 10

Let's proceed to step 6:
45 divided by 10 is 4 with a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 39814.0
If we subtract 40 from 45, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
50 divided by 10 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 39814.5
If we subtract 50 from 50, 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:
When dividing 0 by 10, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 39814.5
Deduct 0 from 0 and we're left with 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 9:
If we divide 0 by 10, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 39814.5
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 39814.5, and the remainder is 0.0.