Override ToString()
This commit is contained in:
parent
c182818aff
commit
9444e2ac8e
@ -44,4 +44,9 @@ public class Coordinates
|
|||||||
ulong lonHash = Convert.ToUInt64((lonRegion + 180) * decimalCoordsSave);
|
ulong lonHash = Convert.ToUInt64((lonRegion + 180) * decimalCoordsSave);
|
||||||
return latHash * offset + lonHash;
|
return latHash * offset + lonHash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
return string.Format("COORDINATES Lat: {0} Lon: {1}", this.latitude, this.longitude);
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user