Answers for "c float output specific decimal"

C
1

print float in c

printf("%.6f", myFloat);
Posted by: Guest on November-24-2020
0

int to float c

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

Code answers related to "C"

Browse Popular Code Answers by Language