There is no difference in how the number gets treated by JavaScript engine.  For readability, our general guideline is that if you are working with floats, constants should always include the decimal (15.0), if you are working with integers, then leave it of (15).  In the above case, since the result is a float, I think 15.0 is correct.