diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 06:52:06 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 06:52:06 +0000 |
commit | fe55fc744ee370f719c17085ec944a4e485f42b9 (patch) | |
tree | f90e275718feb3f2bbcb0178668e905f4826ba4c /calculator.c | |
parent | f779ce2159b3b4843d7bf13f2e8e4e61b0276537 (diff) |
Thu, Nov 30, 2023, 10:52 PM -08:00
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); } |