floor(r)
Return the integer closest to the real number r toward negative infinity. If r is infinite or NaN, return r.
r
floor(1.2) // 1. floor(2/3) // 0 floor(inf) // +inf.0
Core Module Index | Contents