I have to display a number like 2.3284646746 keeping all the digits. Is there a variable type that can hold this number without cutting off most of it?
The code:
long double num3;
num3 = 124.12345678910;
cout <<"The long double of the number is " << num3 << "." << endl;