Closed Congelli501 closed 3 years ago
Less and Sass do same respect for /
(divide) but with different solution.
Sass change: https://sass-lang.com/documentation/breaking-changes/slash-div Less change: https://lesscss.org/usage/#less-options-math
After less v4, you must write code like follow:
div {
width: round((1 / 2));
}
Compiling this less source is not working with less 4.1.1:
Result:
Same result with 4.0.0, but working ok with lessc 3.13.1
Expected (as with less 3.13.1):