You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm coming across a weird issue where stylus isn't returning the correct result for a simple calculation.
I have three variables of which I subtract two values and divide the remainder by two. The expected result would be a 191px but im getting 382px/2; which isn't right at all.
I could be doing something very wrong but this is a very simple arithmetic which I expected to work without any problems. If i'm doing something wrong then please let me know.
The text was updated successfully, but these errors were encountered:
I'm coming across a weird issue where stylus isn't returning the correct result for a simple calculation.
I have three variables of which I subtract two values and divide the remainder by two. The expected result would be a 191px but im getting 382px/2; which isn't right at all.
I've replicated the issue in an isolated test case: http://dl.dropbox.com/u/120890/test.zip and as a comparison I replicated the same code in SCSS and it returns the correct value http://jsfiddle.net/wV2bP/1/.
I could be doing something very wrong but this is a very simple arithmetic which I expected to work without any problems. If i'm doing something wrong then please let me know.
The text was updated successfully, but these errors were encountered: