diff --git a/content/contents/solarmodule.blade.php b/content/contents/solarmodule.blade.php index 6552b9a..e407f2b 100644 --- a/content/contents/solarmodule.blade.php +++ b/content/contents/solarmodule.blade.php @@ -138,7 +138,7 @@ ab 5 Stück {{$content->data_fields['preis_5']}} € - {{(($content->data_fields['preis_5']-$content->data_fields['preis'])*100)/$content->data_fields['preis']}} % + {{number_format((float) (($content->data_fields['preis_5']-$content->data_fields['preis'])*100)/$content->data_fields['preis'] , 2, ',', '')}} % @endisset @@ -146,7 +146,7 @@ ab 10 Stück {{$content->data_fields['preis_10']}} € - {{(($content->data_fields['preis_10']-$content->data_fields['preis'])*100)/$content->data_fields['preis']}} % + {{number_format((float) (($content->data_fields['preis_10']-$content->data_fields['preis'])*100)/$content->data_fields['preis'] , 2, ',', '')}} % @endisset @@ -154,7 +154,7 @@ Palette ({{$content->data_fields['module_pro_palette']}} Stück) {{$content->data_fields['preis_palette']}} € - {{(($content->data_fields['preis_palette']-$content->data_fields['preis'])*100)/$content->data_fields['preis']}} % + {{number_format((float) (($content->data_fields['preis_palette']-$content->data_fields['preis'])*100)/$content->data_fields['preis'] , 2, ',', '')}} % @endisset