Skip to content

numberFormatter method returns exponential view of number #750

@KhrystynaPopadyuk

Description

@KhrystynaPopadyuk

Hi,

I have numeric value 2e-7. In order to display it to user I use numberFormatter method (minimumIntegerDigits = 1, minimumFractionDigits = 0, maximumFractionDigits = 10) and as result I expect to get something like "0,0000002" but I get "2e-7".
How can I avoid exponential notation when format such values?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions