add option for how to treat zero, remove unneeded convert-to-integer case (clients that need this should use dot.Util.toFixed)