[OpenLayers-Commits] r5083 - trunk/openlayers/lib/OpenLayers

commits at openlayers.org commits at openlayers.org
Thu Nov 1 04:23:12 EDT 2007


Author: euzuro
Date: 2007-11-01 04:23:10 -0400 (Thu, 01 Nov 2007)
New Revision: 5083

Modified:
   trunk/openlayers/lib/OpenLayers/BaseTypes.js
Log:
since tschaub fixed the limitSigDigs() function to no longer be restricted to integers, nd comments should reflect that.

Modified: trunk/openlayers/lib/OpenLayers/BaseTypes.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/BaseTypes.js	2007-11-01 07:22:11 UTC (rev 5082)
+++ trunk/openlayers/lib/OpenLayers/BaseTypes.js	2007-11-01 08:23:10 UTC (rev 5083)
@@ -176,14 +176,14 @@
 OpenLayers.Number = {
     /**
      * APIFunction: OpenLayers.Number.limitSigDigs
-     * Limit the number of significant digits on an integer.
+     * Limit the number of significant digits on a float.
      * 
      * Parameters:
-     * num - {Integer}
+     * num - {Float}
      * sig - {Integer}
      * 
      * Returns:
-     * {Integer} The number, rounded to the specified number of significant
+     * {Float} The number, rounded to the specified number of significant
      *     digits.
      */
     limitSigDigs: function(num, sig) {



More information about the Commits mailing list