Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasteles committed Dec 20, 2022
1 parent ff60209 commit c491d8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ public static string ToBrazilString(this decimal value, string? format = null) =
/// </summary>
public static string ToBrazilMoneyString(this decimal value, bool moneySuffix = true)
{
var result = value.ToString("C", NumberFormat);
var result = value.ToString("C", NumberFormat);
return moneySuffix ? result : result.Replace("R$ ", "");
}

/// <summary>
/// NumberFormatInfo using ',' for decimal separators and '.' for group separators
/// </summary>
/// {}
public static readonly NumberFormatInfo NumberFormat =
public static readonly NumberFormatInfo NumberFormat =
new()
{
CurrencyDecimalDigits = 2,
Expand Down

0 comments on commit c491d8c

Please sign in to comment.