diff options
Diffstat (limited to 'calculator.c')
-rw-r--r-- | calculator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calculator.c b/calculator.c index 49bf41b..e9b034e 100644 --- a/calculator.c +++ b/calculator.c @@ -7,5 +7,5 @@ int main(void) long y = get_int("y: "); float z = (float) x / (float) y; - printf("%f\n", z); + printf("%.20f\n", z); } |