Various code cleanup things.

This commit is contained in:
James Cole
2016-03-19 16:51:52 +01:00
parent 47d3cf1d45
commit ef6ef57e67
24 changed files with 24 additions and 27 deletions

View File

@@ -57,7 +57,7 @@ class Income
*/
public function addToTotal(string $add)
{
$add = strval(round($add, 2));
$add = strval(round($add, 2));
$this->total = bcadd($this->total, $add);
}