Fix Bug : repository (stock) the delta was rounded

This commit is contained in:
sparkyx 2025-09-10 10:25:59 +02:00
parent 95a79ae252
commit e9535840c1
5 changed files with 15 additions and 6 deletions

View file

@ -78,7 +78,7 @@ for ($r=0;$r<count($a_repo);$r++) {
$export->add($a);
$export->add($a_stock[$s]['qin'],"number");
$export->add($a_stock[$s]['qout'],"number");
$export->add(bcsub($a_stock[$s]['qin'],$a_stock[$s]['qout']),"number");
$export->add(bcsub($a_stock[$s]['qin'],$a_stock[$s]['qout'],4),"number");
$export->write();
}
}