dev/c/printf_round/printf_round.c

10 lines
115 B
C

#include <stdio.h>
int main(void)
{
long double tmp = 4.1 * 0.25 - 1;
tmp = 0.025;
printf("%.20lf\n", tmp);
}