Report -1 rather than NaN if _total is 0.
authorCarl Hetherington <cth@carlh.net>
Wed, 8 Feb 2012 02:34:22 +0000 (02:34 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 8 Feb 2012 02:34:22 +0000 (02:34 +0000)
commita655dc6ed6532329145b91d0cada5ce58b525f41
tree75f7ef9485098b6d8bf879656f06465017defa39
parent785d9fd38ca07c31c73f0e99c7f5254c78bdb8fe
Report -1 rather than NaN if _total is 0.