Skip to content

x/text/message: scientific format is incorrect #71428

Closed
@jcking

Description

@jcking

Go version

N/A

Output of go env in your module/workspace:

N/A

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions