From: Teodor Sigaev Date: Mon, 4 Apr 2016 07:09:39 +0000 (+0300) Subject: mkR X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=f0c5107b014a98ead8a9ef43a05a8390b3dfecb4;p=trinked.git mkR --- diff --git a/main.c b/main.c index b9d9786..f5532cd 100644 --- a/main.c +++ b/main.c @@ -85,7 +85,7 @@ restart: if (prevDose >= 0.0) { double counts = curDose - prevDose; - double radlevel = coefficient * counts * 3600.0 / (double)period; + double radlevel = 1e6 * coefficient * counts * 3600.0 / (double)period; FILE *fh = stdout; bool successOpen = true;