fix problems from tests
This commit is contained in:
@@ -39,7 +39,7 @@ QDecDouble AccService::price() const
|
||||
|
||||
void AccService::setPrice(QDecDouble price)
|
||||
{
|
||||
m_price = price.toDouble() * DEC_MULTIPLE;
|
||||
m_price = qRound(price.toDouble() * DEC_MULTIPLE);
|
||||
}
|
||||
bool AccService::active() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user