.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user