round method
Rounds the x and y fields to the nearest integer values. @return {!goog.math.Coordinate} This coordinate with rounded fields.
Implementation
Coordinate round()
{
x = x.roundToDouble();
y = y.roundToDouble();
return this;
}
Rounds the x and y fields to the nearest integer values. @return {!goog.math.Coordinate} This coordinate with rounded fields.
Coordinate round()
{
x = x.roundToDouble();
y = y.roundToDouble();
return this;
}