floorWithPrecision method

num floorWithPrecision([
  1. num precision = 1
])

Computes number rounded down to precision. This is equivalent to the floor function. Returns the largest integer less than or equal to this. If precision is null, this is returned.

Implementation

num floorWithPrecision([num precision = 1]) => floor(this);