C-style cast. Use C++ static_cast< double >