1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[Doc] Add floor,ceil,round to manpage.

Fixes: #1569
This commit is contained in:
Dave Davenport 2022-01-19 18:56:23 +01:00
parent 9ab2059865
commit 8817b6a602
2 changed files with 9 additions and 0 deletions

View file

@ -655,6 +655,12 @@ It supports the following operations:
\fB\fCmin\fR : Minimum of l or rvalue;
.IP \(bu 2
\fB\fCmax\fR : Maximum of l or rvalue;
.IP \(bu 2
\fB\fCfloor\fR : Round down lvalue to the next multiple of rvalue
.IP \(bu 2
\fB\fCceil\fR : Round up lvalue to the next multiple of rvalue
.IP \(bu 2
\fB\fCround\fR : Round lvalue to the next multiple of rvalue
.RE

View file

@ -409,6 +409,9 @@ It supports the following operations:
* `%` : Multiply
* `min` : Minimum of l or rvalue;
* `max` : Maximum of l or rvalue;
* `floor` : Round down lvalue to the next multiple of rvalue
* `ceil` : Round up lvalue to the next multiple of rvalue
* `round` : Round lvalue to the next multiple of rvalue
It uses the C precedence ordering.