fix problems from tests

This commit is contained in:
2026-10-12 16:29:43 +02:00
parent a0a745df0c
commit 3a4c517a75
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ QDecDouble CommodityData::price() const
void CommodityData::setPrice(const QDecDouble &price)
{
m_price = price.toDouble() * DEC_MULTIPLE;
m_price = qRound(price.toDouble() * DEC_MULTIPLE);
}
Enums::VatType CommodityData::vat() const
{