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

Float as string transforms into float type when creating config. #296

Closed
pereman2 opened this issue Jul 12, 2020 · 0 comments · Fixed by #299
Closed

Float as string transforms into float type when creating config. #296

pereman2 opened this issue Jul 12, 2020 · 0 comments · Fixed by #299
Labels
bug Something isn't working

Comments

@pereman2
Copy link
Contributor

How to reproduce:
OmegaConf.create(OmegaConf.create("abc: '10e2'").pretty())

Output:
abc: 1000.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants