trunc function

num trunc(
  1. num x
)

Implementation

num trunc(num x) => x.truncate();