trunc function

double trunc(
  1. double x
)

Implementation

double trunc(double x) => x.truncateToDouble();