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.
Go version
N/A
Output of
go envin 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.hand 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 SPACEaround the exponent separator.What did you expect to see?
1.052033×10⁰³
Note the removal of the extraneous
NARROW NO-BREAK SPACEaround the exponent separator.