Permalink
Browse files

Modified total by account plugin to round Other category to 2 decimal…

… places
  • Loading branch information...
elazar committed Sep 8, 2011
1 parent e6ba3d9 commit 08eae85622fd5ebeb551b12d4b9e0307cb8d5695
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/total_by_account.php
@@ -14,7 +14,7 @@
return ($amount / $total) >= .01;
});
if ($diff = $total - array_sum($data)) {
- $data['Other'] = $diff;
+ $data['Other'] = round($diff, 2);
}
asort($data);

0 comments on commit 08eae85

Please sign in to comment.