--- a/src/duration.cpp	2017-12-28 10:45:09.000000000 +1100
+++ b/src/duration.cpp	2017-12-28 11:01:40.000000000 +1100
@@ -43,7 +43,7 @@
       StdIStream& operator>>(StdIStream& in , CDuration& duration)
       {
         duration = NoneDu;
-        double v = 1.0;
+        int v = 1;
         char   c = '/';
         bool   invalidUnit = false;
         CDuration sentinel = NoneDu;
