josephwright / siunitx

A comprehensive (SI) units package for LaTeX
LaTeX Project Public License v1.3c
350 stars 25 forks source link

Parsing of "123" is ambiguous w.r.t. exponent #692

Closed josephwright closed 10 months ago

josephwright commented 10 months ago

Whilst e10 is parsed without a mantissa, 123 is parsed with an exponent. This is potentially confusing for the print-... options, as print-zero-exponent will print for cases with no exponent in the input, but print-unity-mantissa will not. Ideally both should have similar behaviour.