Skip to content

Commit fc8678b

Browse files
authored
Merge pull request #1681 from Marc0zDev/ajuste-decimais-danfehtml
Ajuste na formatação de decimais do DANFE HTML
2 parents c627567 + 5850892 commit fc8678b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NFe.Danfe.Html/CrossCutting/Utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public static string FormatarNumeroDanfe(this decimal value)
237237
var str = FormatarNumero(value);
238238
str = str.Replace(".", ",");
239239
double.TryParse(str, out var result);
240-
return result.ToString("N", CultureInfo.GetCultureInfo("pt-br"));
240+
return result.ToString("N2", CultureInfo.GetCultureInfo("pt-br"));
241241
}
242242
catch (Exception)
243243
{

0 commit comments

Comments
 (0)