Skip to content

Commit

Permalink
Humanizr#1245: Replace the greek (B) "Beta" char to a regular B in me…
Browse files Browse the repository at this point in the history
…thods as very latest visual studio is more sensitive somehow to character encodings
  • Loading branch information
vilinet committed Dec 12, 2022
1 parent 25179e9 commit a6994b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private string ConvertImpl(long number, bool returnPluralized)
{
if (number < 13)
{
return ConvertIntΒ13(number, returnPluralized);
return ConvertIntB13(number, returnPluralized);
}
else if (number < 100)
{
Expand All @@ -184,7 +184,7 @@ private string ConvertImpl(long number, bool returnPluralized)
return "";
}

private string ConvertIntΒ13(long number, bool returnPluralized)
private string ConvertIntB13(long number, bool returnPluralized)
{
return returnPluralized ? UnitsMap[number] : UnitMap[number];
}
Expand Down

0 comments on commit a6994b8

Please sign in to comment.