mkR
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Apr 2016 07:09:39 +0000 (10:09 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Apr 2016 07:09:39 +0000 (10:09 +0300)
main.c

diff --git a/main.c b/main.c
index b9d9786..f5532cd 100644 (file)
--- 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;