Answers for "convert int to float cpp"

C++
2

int to float c++

int a = 3;
float b = (float)a;
Posted by: Guest on February-28-2020
1

int to float c

float percentage;
percentage = (float)number/total * 100;
Posted by: Guest on November-25-2020

Browse Popular Code Answers by Language