If you know that the total will never be null, it's slightly tighter to use non-capitalised "double" as a datatype.