Skip to content
Code-Schnipsel Gruppen Projekte
Commit 2d15a69a erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'next' into 'master'

Next

See merge request !54
Übergeordnete cae48207 5ac64330
No related branches found
Tags 3.7.2
2 Merge Requests!140Update 'next-4.x' with latest changes from 'main',!54Next
Pipeline #5294 bestanden mit Phase
in 31 Sekunden
......@@ -25,7 +25,7 @@ class CalculationValue
protected QUI\ERP\Currency\Currency $Currency;
/**
* @var int|string
* @var int|float
*/
protected $number = 0;
......@@ -66,6 +66,14 @@ public function __construct($number, QUI\ERP\Currency\Currency $Currency = null,
$this->Currency = QUI\ERP\Defaults::getCurrency();
}
/**
* @return float|int|string
*/
public function value()
{
return $this->number;
}
/**
* Return the CalculationValue with the wanted precision
*
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren