This commit is contained in:
2022-03-31 16:24:11 +02:00
parent 98c6814863
commit a29ee0d5b7
7 changed files with 146 additions and 47 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ class MainObject
public function takePrice() : void
{
$this->price = abs(round($this->realValue / $this->getValue(),4));
$this->price = floatval(abs(round($this->realValue / $this->getValue(),4)));
}
public function getPrice() : float