cloudhead/less.js — Issue #648: Native support for certain Math functions
Author: Soviut
Created: 2012-02-22 03:24:29+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.