From e14f0c20b89c3cd75348957010ef045dcc5f7811 Mon Sep 17 00:00:00 2001 From: euzuro Date: Thu, 1 Nov 2007 08:23:10 +0000 Subject: [PATCH] since tschaub fixed the limitSigDigs() function to no longer be restricted to integers, nd comments should reflect that. git-svn-id: http://svn.openlayers.org/trunk/openlayers@5083 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/BaseTypes.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/OpenLayers/BaseTypes.js b/lib/OpenLayers/BaseTypes.js index f3f970e332..a9768ba578 100644 --- a/lib/OpenLayers/BaseTypes.js +++ b/lib/OpenLayers/BaseTypes.js @@ -176,14 +176,14 @@ if (!String.prototype.camelize) { 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) {