Skip to content

Error validating numbers in scientific notation #639

Open
@nancystodd

Description

@nancystodd

HTML5 text inputs display numbers that are too small or too large in scientific notation. When using the number validator and allowing floats, the input values displayed in scientific notation report an error for otherwise valid numbers. For example, if I have a value of o.ooooooo1, it displays as 1E-8 and the validation displays an error. Because we have many values that are very small or very large, we do not want to simply disallow the use of scientific notation in our inputs. Is there a workaround for this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions