test implicit conversion to double