c 언어/초급과정
소수점 2째자리에서 반올림
여린완자
2019. 10. 31. 10:33
#include <stdio.h>
int main(void)
{
printf("%.2f\n\n", 0.25676);
return 0;
}
/*
결과:0.26
*/