Fix arrotondamento movimenti contabili

This commit is contained in:
loviuz 2024-02-12 10:32:39 +01:00
parent 801ed47ef8
commit 74ad2bd1e3
1 changed files with 2 additions and 2 deletions

View File

@ -228,8 +228,8 @@ class Movimenti
$mastrino = $this->generateMastrino(); $mastrino = $this->generateMastrino();
foreach ($movimenti as $element) { foreach ($movimenti as $element) {
$dare = round($element['dare'], 2); $dare = round($element['dare'], 6);
$avere = round($element['avere'], 2); $avere = round($element['avere'], 6);
$totale_dare += $dare; $totale_dare += $dare;
$totale_avere += $avere; $totale_avere += $avere;