cloudhead/cradle — Issue #111: Native support for certain Math functions
Author: Soviut
Created: 2011-10-13 21:34:15+00:00
State: open

It would be great if LESS supported some native math functions such as round(), floor(), and ceil().

I've created my own grid generator using LESS that lets me specify an overall page width, column width and gutter width and less does all the calculations for me. Sometimes, though, the widths don't always line up perfectly and I can get decimal values. I'd like to be able to floor() or ceil() them to make them fit better.