Hi. Thank you so much for your help. Since you didn't give me the exact answer, and only a hint, here is the complete answer for others to see: You can only get a double result if you divide 2 doubles, i.e., 5.0/3.0=1.66,,,but 5/3, in programming ...