floor method
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;
}
Rounds the x and y fields to the next smaller integer values. @return {!goog.math.Coordinate} This coordinate with floored fields.
Coordinate floor()
{
x = x.floorToDouble();
y = y.floorToDouble();
return this;
}