<p><b>@mmd-osm</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2485#discussion_r362032964">app/views/api/nodes/_node.json.jbuilder</a>:</p>
<pre style='color:#555'>> @@ -0,0 +1,15 @@
+json.type "node"
+json.id node.id
+if node.visible
+ json.lat format("%.7f", node.lat.to_f)
</pre>
<p>Well, .to_f omits the quotation issue. However, it will no longer create an output with 7 fixed decimal places, which all other implementations of this format do.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2485?email_source=notifications&email_token=AAK2OLNDVJMXAHD57OFGKUDQ3IOY7A5CNFSM4KAKS5KKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQMLGLI#discussion_r362032964">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKECGFGMEEV365SMFDQ3IOY7ANCNFSM4KAKS5KA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLKFPZ6OPVRHSGVPC63Q3IOY7A5CNFSM4KAKS5KKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQMLGLI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2485?email_source=notifications\u0026email_token=AAK2OLNDVJMXAHD57OFGKUDQ3IOY7A5CNFSM4KAKS5KKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQMLGLI#discussion_r362032964",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2485?email_source=notifications\u0026email_token=AAK2OLNDVJMXAHD57OFGKUDQ3IOY7A5CNFSM4KAKS5KKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQMLGLI#discussion_r362032964",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>