Should I convert like this..

for example I want to convert from long long to long double
but this does not work..
1
2
 long long x;
static_cast<long double>(x);
closed account (G30GNwbp)
1
2
long long x;
long double y{x};
Last edited on
Topic archived. No new replies allowed.