Answers for "c float remove trailing 0"

C
1

c float remove trailing 0

double x = 4.300;
double e = 7.34200;
printf("%g n %g", x, e);
// will print 4.3 and then 7.342
Posted by: Guest on November-04-2021

Code answers related to "C"

Browse Popular Code Answers by Language