Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… places
  • Loading branch information...
commit 08eae85622fd5ebeb551b12d4b9e0307cb8d5695 1 parent e6ba3d9
@elazar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/total_by_account.php
View
2  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);
Please sign in to comment.
Something went wrong with that request. Please try again.