From 03146ae7569d3d8a46c86389ccc185df18a6e02d Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 1 Sep 2011 04:00:03 +0530 Subject: [PATCH] er --- gazetteer/static/js/feature_admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gazetteer/static/js/feature_admin.js b/gazetteer/static/js/feature_admin.js index ee4cdf7..589c9aa 100644 --- a/gazetteer/static/js/feature_admin.js +++ b/gazetteer/static/js/feature_admin.js @@ -13,7 +13,7 @@ function getRow(d) { var $tr = $(''); var $one = $('').appendTo($tr); var $a = $('').attr("href", "/admin/places/feature/" + d.id).text(d.preferred_name).appendTo($one); - var similarity = Math.round(parseFloat(d.similarity) * 100); + var similarity = Math.round(parseFloat(d.similarity) * 1000) / 10; var distance = Math.round(parseFloat(d.distance)); $('').text(d.feature_type).appendTo($tr); $('').text(similarity).appendTo($tr);