floor function

num floor(
  1. num x
)

Rounds the given value x to an integer towards negative infinity.

Implementation

num floor(num x) => x.floor();