This commit is contained in:
netscrawler committed 2024-07-04 07:27:31 +03:00
1 parent 5b11756af6
commit 4977599e87
5 files changed
+6 -7

No files matched your search

+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
}