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

if() requires double parentheses when dividing #3616

Closed
MartijnCuppens opened this issue Apr 13, 2021 · 0 comments · Fixed by #3626
Closed

if() requires double parentheses when dividing #3616

MartijnCuppens opened this issue Apr 13, 2021 · 0 comments · Fixed by #3626

Comments

@MartijnCuppens
Copy link

Follow-up on #3615:

For Less v4:

Input Expected Result Ok?
value: if(false, 0, 6 / 3); value: 6 / 3; value: 6 / 3; 👍
value: if(false, 0, (6 / 3)); value: 2; value: 6 / 3; 👎
value: if(false, 0, ((6 / 3))); value: 2; value: 2;. 👍
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