From: Teodor Sigaev Date: Mon, 4 Apr 2016 07:30:47 +0000 (+0300) Subject: nice print X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=063a6f72a102e818974248e7868e921622d6d6d2;p=trinked.git nice print --- diff --git a/main.c b/main.c index f5532cd..3b689d8 100644 --- 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) {