Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a user, I want to validate that there is exactly one digit to the left of the decimal point for the specifier e or E #992

Open
jordanpadams opened this issue Sep 3, 2024 · 0 comments

Comments

@jordanpadams
Copy link
Member

Checked for duplicates

Yes - I've already checked

πŸ§‘β€πŸ”¬ User Persona(s)

Archivist

πŸ’ͺ Motivation

In SR 4B.1.2 Field Formats, for the specifier "e,E", exactly one digit is always to the left of the decimal point, so 333.3e33 is illegal, i.e. that ought to be 3.333e35.

πŸ“– Additional Details

No response

Acceptance Criteria

Given a label with a field format containing the specifier e or E, and >1 digit to the left of the decimal point (e.g. 333.3e33)
When I perform validate on the label
Then I expect validate to throw an error

Given a label with a field format containing the specifier e or E, and <1 digit to the left of the decimal point (e.g. .3e33)
When I perform validate on the label
Then I expect validate to throw an error

βš™οΈ Engineering Details

No response

πŸŽ‰ I&T

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Release Backlog
Status: ToDo
Development

No branches or pull requests

1 participant