fuzzyworld

find-stone-beer / files / coord-round_test.go

coord-round_test.go

Commits that changed this file, newest first · file

2023-08-271ab63e5Added code to round a coordinate value in such a way, that the accuracy of the coordinate is greater than a given value. This allows rounding a coordinate so that it (for example) is accurate to within .25 miles, instead of whatever accuracy was there originally.Pavel Safronov