x/text/message: scientific format is incorrect #71428
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
N/A
Output of
go env
in your module/workspace:What did you do?
Formatting a float for scientific results in extra spaces around the superscriptingExponent. ICU4C does not produce these same spaces when using
unicode/scientificnumberformatter.h
and CLDR does not suggest them either in current standards. See cel-go for the Go code.What did you see happen?
1.052033 × 10⁰³
Note the extraneous
NARROW NO-BREAK SPACE
around the exponent separator.What did you expect to see?
1.052033×10⁰³
Note the removal of the extraneous
NARROW NO-BREAK SPACE
around the exponent separator.The text was updated successfully, but these errors were encountered: