lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject svn commit: r1379402 - /incubator/lucene.net/trunk/src/contrib/Spatial/Queries/SpatialArgs.cs
Date Fri, 31 Aug 2012 10:17:54 GMT
Author: synhershko
Date: Fri Aug 31 10:17:53 2012
New Revision: 1379402

URL: http://svn.apache.org/viewvc?rev=1379402&view=rev
Log:
Fixing precision display "fix"

Modified:
    incubator/lucene.net/trunk/src/contrib/Spatial/Queries/SpatialArgs.cs

Modified: incubator/lucene.net/trunk/src/contrib/Spatial/Queries/SpatialArgs.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Spatial/Queries/SpatialArgs.cs?rev=1379402&r1=1379401&r2=1379402&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Spatial/Queries/SpatialArgs.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Spatial/Queries/SpatialArgs.cs Fri Aug 31 10:17:53
2012
@@ -70,7 +70,7 @@ namespace Lucene.Net.Spatial.Queries
 			var str = new StringBuilder();
 			str.Append(Operation.GetName()).Append('(');
 			str.Append(shape.ToString());
-			str.Append(" distPrec=").AppendFormat("{0:0.000}%", distPrecision);
+			str.Append(" distPrec=").AppendFormat("{0:0.00}%", distPrecision * 100);
 			str.Append(')');
 			return str.ToString();
 		}



Mime
View raw message