Answers for "float double c++"

C++
1

double to float c++

double v1 = 20120313.0;
    float v2 = (float) v1;
Posted by: Guest on May-18-2020
2

how to make a float in C++

public float whatYourFloatIsCalled = 0;
public float whatIsYourFloat;
Posted by: Guest on May-04-2020
0

float in c++

float contains less storage than a double. 
float p = 25.0;
double p = 25.0;
Posted by: Guest on July-06-2020

Browse Popular Code Answers by Language