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

Scientific notation for small number when using SwaggerParser.YAML.parse({string}) #180

Open
atuannguyen1101 opened this issue Aug 3, 2021 · 1 comment

Comments

@atuannguyen1101
Copy link

I was trying to use the function SwaggerParser.YAML.parse({string}). Everything works fine but I notice that for a very small number, like 0.00000001, it got replaced with a science notation 1e-8. Is it possible for us to have an option to suppress this behavior?

@jaishirole
Copy link
Contributor

@atuannguyen1101 Can you give a sample of the string to understand the issue better?

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

2 participants