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
This commit is contained in:
euzuro
2007-11-01 08:23:10 +00:00
parent 6360ebadcd
commit e14f0c20b8
+3 -3
View File
@@ -176,14 +176,14 @@ if (!String.prototype.camelize) {
OpenLayers.Number = { OpenLayers.Number = {
/** /**
* APIFunction: OpenLayers.Number.limitSigDigs * APIFunction: OpenLayers.Number.limitSigDigs
* Limit the number of significant digits on an integer. * Limit the number of significant digits on a float.
* *
* Parameters: * Parameters:
* num - {Integer} * num - {Float}
* sig - {Integer} * sig - {Integer}
* *
* Returns: * Returns:
* {Integer} The number, rounded to the specified number of significant * {Float} The number, rounded to the specified number of significant
* digits. * digits.
*/ */
limitSigDigs: function(num, sig) { limitSigDigs: function(num, sig) {