[OpenLayers-Trac] Re: [OpenLayers] #2875: toFloat hell
OpenLayers
trac-20090302 at openlayers.org
Wed Nov 24 11:21:28 EST 2010
#2875: toFloat hell
-----------------------+----------------------------------------------------
Reporter: erilem | Owner:
Type: bug | Status: new
Priority: major | Milestone: 3.0 Release
Component: BaseTypes | Version: 2.10
Keywords: | State:
-----------------------+----------------------------------------------------
Comment(by erilem):
Replying to [comment:3 ahocevar]:
> I thought we had agreed that we should trust the user to provide floats,
no?
The problem isn't only about providing floats vs strings, it is about the
number of significant figures. See the comments above
{{{OpenLayers.Util.DEFAULT_PRECISION}}} in {{{Util.js}}}, and the
{{{Bounds.html}}} tests.
> Other than that, I am not opposed to the patch, but I see no value in
shortening the variable names used. I know we (including myself) have been
using single char variable names recently, but it is still against our
coding standards.
Ok, I will revert the changes for the variable names.
--
Ticket URL: <http://trac.openlayers.org/ticket/2875#comment:4>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list