This is only relevant with negative numbers.
Libreoffice calc floor function.
The basic is very simple.
For a negative number the direction of rounding is determined by the value of a mode parameter.
Floor math 5 678 1 2 returns the value 5 the negative value of mode has no impact because number is positive.
Fortunately calc has an entire library of functions you can take advantage of.
Floor xcl 5 6 2 returns the value 4.
Floor xcl 12 7 5 3 returns the value 15 9.
For example in a function with four parameters where the last two parameters are marked as optional you can leave out parameter 4 or parameters 3 and 4 but you cannot leave out parameter 3 alone.
Mode number is the number that is to be rounded up to a multiple of mult.
If function uses conditions to determine results.
Then click cell c4 and press the function wizard button.
The sign of the significance value is ignored.
Returns a number rounded up to a multiple of another number.
Floor math 5 678 floor math 5 678 1 and floor math 5 678 1 0 all return the value 5.
For a positive number the function rounds down towards zero.
Rounds a number to the nearest multiple of a significance value.
And you can do literally anything with it if you know the basics.
First enter the value 777 in cell b4.
Libre office calc function wizard with a function selected if you want your function to call.
Floor math 7 89 floor math 7 89 1 and floor math 7 89 1 0 all return the value 8.
In the libreoffice calc functions parameters marked as optional can be left out only when no parameter follows.
If the condition is met then one result is shown and if the condition is not met then another result is shown.
This enables you to set up a conditional statement whereby the result of one cell depends on another cell s value.
Floor math 7 89 1 2 and floor math.
We would like to show you a description here but the site won t allow us.
Similarly when you save a calc spreadsheet in excel format calc converts references to its own floor xcl function to instead reference excel s floor function.
First let s add a basic if else function to a calc spreadsheet.
If mode is zero or omitted ceiling rounds up to the multiple above greater than or equal to number if mode is non zero ceiling rounds up away from zero.
When you open an excel file in calc calc converts references to excel s floor function to instead reference calc s floor xcl function.
Libre office calc function wizard you select the function and press next to input actual parameters.