nice print
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Apr 2016 07:30:47 +0000 (10:30 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Apr 2016 07:30:47 +0000 (10:30 +0300)
main.c

diff --git a/main.c b/main.c
index f5532cd..3b689d8 100644 (file)
--- a/main.c
+++ b/main.c
@@ -99,7 +99,7 @@ restart:
                        if (successOpen) {
                                fprintf(fh, "total: %lld\n", (long long)curDose);
                                fprintf(fh, "counts: %lld\n", (long long)counts);
-                               fprintf(fh, "radlevel: %e\n", radlevel);
+                               fprintf(fh, "radlevel: %.02f\n", radlevel);
                        }
 
                        if (fh && fh != stdout) {