'zero' should be variable: format with %0.1f, and %r for the exception.