Removed redundant parenthesis

This commit is contained in:
Kwoth
2021-12-20 03:54:30 +01:00
parent edd60ae656
commit 9223d78849
58 changed files with 147 additions and 147 deletions

View File

@@ -79,10 +79,10 @@ public partial class Utility
{
if (originUnit.UnitType == "currency")
{
res = (value * targetUnit.Modifier) / originUnit.Modifier;
res = value * targetUnit.Modifier / originUnit.Modifier;
}
else
res = (value * originUnit.Modifier) / targetUnit.Modifier;
res = value * originUnit.Modifier / targetUnit.Modifier;
}
res = Math.Round(res, 4);