This commit is contained in:
netscrawler
2024-07-04 07:27:31 +03:00
parent 5b11756af6
commit 4977599e87
5 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -42,7 +42,6 @@ func (c *Converter) Convert(
return 0, 0, fmt.Errorf("%s: %w", op, err)
}
convertedAmount = uint32(float32(amount) * rate.Rate)
convertedAmount = uint32(float32(amount) / rate.Rate)
return convertedAmount, rate.Rate, nil
}