truncate(r)
Return the integer closest to the real number r towards zero.
r
truncate(1.2) // 1. truncate(2/3) // 0
Core Module Index | Contents