Try this:
CODE:
Please log in to see this code.
In other words, there's ambiguity in how "5" should be treated - it can be an integer value, and in your case, integer division happens. Make sure the number is explicitly a
double value by defining a
double variable or casting the number.