Skip to content

Commit cc7b086

Browse files
committed
closes #262
1 parent 6691cb7 commit cc7b086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ZUGFeRD/Tax.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public decimal TaxAmount
3737
{
3838
get
3939
{
40-
return 0.01m * this.Percent * this.BasisAmount;
40+
return System.Math.Round(0.01m * this.Percent * this.BasisAmount, 2, MidpointRounding.AwayFromZero);
4141
}
4242
}
4343

0 commit comments

Comments
 (0)