floor method

Coordinate floor()

Rounds the x and y fields to the next smaller integer values. @return {!goog.math.Coordinate} This coordinate with floored fields.

Implementation

Coordinate floor()
{
  x = x.floorToDouble();
  y = y.floorToDouble();
  return this;
}