[openstreetmap/openstreetmap-website] Avoid use of scientific notation in geocoder results (PR #4961)
Tom Hughes
notifications at github.com
Tue Jul 9 17:37:14 UTC 2024
@tomhughes commented on this pull request.
> + assert_in_delta lat, @controller.params[:lat].to_f
+ assert_in_delta lon, @controller.params[:lon].to_f
Nice idea. I've added that and also added a test case using small values to check it doesn't trigger scientific formatting.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4961#discussion_r1670927272
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4961/review/2166981867 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240709/524627d6/attachment.htm>
More information about the rails-dev
mailing list