cloudhead/less — Issue #184: floor() and ceil() ignored by lessc
Author: trkoch
Created: 2012-01-23 11:04:27+00:00
State: open

The operations floor() and ceil() are passed-through unchanged.

$ echo "div { margin-bottom: ceil(12.535235) }" | lessc
div{margin-bottom:ceil(12.535235);}

$ echo "div { margin-bottom: floor(12.535235) }" | lessc
div{margin-bottom:floor(12.535235);}

Round works as expected.

$ echo "body { margin-bottom: round(12.535235) }" | lessc
body{margin-bottom:13;