Function floor()
rounds down a given number to its floor, namely returns the largest integer that is no greater than the number.
Arguments:
- Number <number>
Returns:
- Floor <number>
Common Usage
Example: round down -45.2 and return the value after calculation
return floor(-45.2)
Example: find 10 @transfer
edges, return their amounts after rounding down
find().edges({@transfer}) as e
limit 10
return floor(e.amount)