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

Zero values stripped from decimals on compilation #784

Open
damondine opened this issue Sep 5, 2018 · 0 comments
Open

Zero values stripped from decimals on compilation #784

damondine opened this issue Sep 5, 2018 · 0 comments

Comments

@damondine
Copy link

screen shot 2018-09-05 at 4 29 05 pm

Found this issue while working on a template using multiple decimal values, if you pass through a value like 0.05, the compiler will strip out all zeroes after the decimal point making 0.05 -> 0.5 after compiling. This doesn't happen to decimals without zeroes as 0.15 still compiles to 0.15.

Screenshot above shows a few different tests with these scenarios, including passing in a variable as 0.05 which works as expected.

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