Make implicit conversion from Double to Q