ZuUndAbschlaege wip

This commit is contained in:
salam committed 2025-11-01 11:53:51 +01:00
1 parent 622b37bb90
commit c7f69d2efe
4 files changed
+27 -28

No files matched your search

+3 -3
View File
@@ -15,16 +15,16 @@ class Format
public static function index($value)
{
if (is_numeric($value) && $value * 1 > 0) {
if (is_numeric($value) && $value * 1 != 0) {
return number_format($value, 2, '.', '.');
} else {
return '';
}
}
public static function dezimal($value, $stellen = 2)
public static function dezimal($value, $stellen)
{
if (is_numeric($value) && $value * 1 > 0) {
if (is_numeric($value) && $value != 0) {
return number_format($value, $stellen, ',', '.');
} else {
return '';