Rounds a number down, to the nearest integer or to the nearest multiple of significance.
Name | Type | Description |
arg1 | number | Is the value you want to round. |
arg2 | number | Is the multiple to which you want to round. |
arg3 | number | When given and nonzero this function will round towards zero. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.FLOOR_MATH(-5.5, 2, 1)); builder.SaveFile("xlsx", "FLOOR_MATH.xlsx"); builder.CloseFile();