Floor
This can be useful in certain mathematical scenarios e.g. when calculating age (where you don't want to round up the number of years).
NB. For most tools, FLOOR rounds the number down to the nearest integer. In Excel, it rounds the number down to the specified degree of significance.
Excel
=~FLOOR!~(‹number›, ‹significance›)
NB. Inputs need to have the same sign.
Tableau
~FLOOR!~(‹measure›)
Alteryx
~FLOOR!~(‹measure›)
OrgVue
~Math.floor!~(‹measure›)
NB. Make sure to use Math
and not math
. "Math" is a library of functions which contains floor
; "math" is a function itself.
tSQL
~FLOOR!~(‹measure›)
Python
~math.floor!~(‹measure›)
NB. This requires the math
library to be imported.
Last updated
Was this helpful?