The rules for format-number() with exponential notation, e.g format-number(0.0e0, '0.0e0') say the number should be scaled so that "The mantissa is less than 10^N, and at least 10^(N-1), where N is the scaling factor." But zero cannot be scaled in a way that satisfies these conditions.
The rules for
format-number()
with exponential notation, e.g format-number(0.0e0, '0.0e0') say the number should be scaled so that "The mantissa is less than 10^N, and at least 10^(N-1), where N is the scaling factor." But zero cannot be scaled in a way that satisfies these conditions.