# HG changeset patch # User viric@llimona # Date 1159997061 -7200 # Node ID 974edda953a65eaeb3574f95d453e445c344861c # Parent a8cf3dcdf9e671c580ef8c623cfc0b22e843d359 Els percentatges precalculats eren massa llargs. Arreglat. diff -r a8cf3dcdf9e6 -r 974edda953a6 update-compra.php --- a/update-compra.php Thu May 11 00:04:42 2006 +0200 +++ b/update-compra.php Wed Oct 04 23:24:21 2006 +0200 @@ -221,7 +221,7 @@ if (isset($_POST["percent"][$i["id"]])) echo $_POST["percent"][$i["id"]]; else - echo 100/$num_habitants; + printf("%2.3f", 100/$num_habitants); echo "\">\n"; } ?>