Skip to content

Commit 540f8b7

Browse files
committed
fix for thousand separator
fixes 4dfdcaa#commitcomment-142063660
1 parent 4dfdcaa commit 540f8b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ZUGFeRD/IInvoiceDescriptorWriter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void Save(InvoiceDescriptor descriptor, string filename)
4747

4848
protected string _formatDecimal(decimal value, int numDecimals = 2)
4949
{
50-
return Math.Round(value, numDecimals).ToString($"N{numDecimals}", CultureInfo.InvariantCulture);
50+
return Math.Round(value, numDecimals).ToString($"F{numDecimals}", CultureInfo.InvariantCulture);
5151
} // !_formatDecimal()
5252

5353

0 commit comments

Comments
 (0)