Skip to content

Commit

Permalink
Removing debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Sep 13, 2023
1 parent d4f8ad5 commit 6b94e2e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bill/invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ func (inv *Invoice) RemoveIncludedTaxes() (*Invoice, error) {
// Account for any rounding errors that we just can't handle
if !inv.Totals.TotalWithTax.Equals(i2.Totals.TotalWithTax) {
rnd := inv.Totals.TotalWithTax.Subtract(i2.Totals.TotalWithTax)
fmt.Printf("A: %s B: %s C: %s\n", inv.Totals.TotalWithTax.String(), i2.Totals.TotalWithTax.String(), rnd.String())
i2.Totals.Rounding = &rnd
if err := i2.Calculate(); err != nil {
return nil, err
Expand Down

0 comments on commit 6b94e2e

Please sign in to comment.