Computes the largest integer value not greater than x.
x
double floor(double x) => x.floorToDouble();