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

Information loss in parsed number value and result in scientific notation. #3105

Open
CDirkx opened this issue May 16, 2023 · 1 comment
Open

Comments

@CDirkx
Copy link

CDirkx commented May 16, 2023

Parsed numbers can be in scientific notation, and lose information as not all digits are included.

Example:

NumberRecognizer.RecognizeNumber("11111111111111122222222222", Culture.English); // 1.11111111111111E+25

Is there a way to retreive the full information from the result? (so the full "11111111111111122222222222").

Platform: .NET Microsoft.Recognizers.Text.Number 1.8.8

@CDirkx
Copy link
Author

CDirkx commented May 16, 2023

Seems related to an older issue: #2255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant