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

Inconsistent float formatting in javascript. #7605

Closed
treeform opened this issue Apr 13, 2018 · 0 comments · Fixed by #14134
Closed

Inconsistent float formatting in javascript. #7605

treeform opened this issue Apr 13, 2018 · 0 comments · Fixed by #14134

Comments

@treeform
Copy link
Contributor

echo 123.0 # this prints 123.0 in both c and js
var f = 123.0
echo f # this prints 123 in js and 123.0 in c

I would expect floats to be printed the say way if they are immediate or variable.

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

Successfully merging a pull request may close this issue.

2 participants