- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
DAX Math & Trigonometric - FLOOR function
Description
Rounds a number down, toward zero, to the nearest multiple of significance.
Syntax
FLOOR (<number>, <significance>)
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
number The numeric value you want to round. |
2 |
significance The multiple to which you want to round. |
The parameters number and significance must either both be positive, or both negative.
Return Value
A decimal number.
Remarks
If either parameter is non-numeric, FLOOR returns #VALUE! error.
If the number is positive and significance is negative, FLOOR returns error.
Regardless of the sign of the number, a value is rounded down when adjusted away from zero.
If the number is an exact multiple of significance, no rounding occurs.
Example
= FLOOR (2.8,2) returns 2. = FLOOR (2.8,3) returns 0. = FLOOR (-2.8,2) returns -4. = FLOOR (-2.8, -2) returns -2.
dax_functions_mathematical_trigonometric.htm
Advertisements