Skip to content
Advertisement

Tag: array-column

Format number in array within an array_sum

I have a view in a laravel project where I have to print the sum of some array columns. I Have this kind of code to achieve the result: It works fine. But there is a problem. The numeric columns have a formatted italian currency number like this: 1.267,76 € So the sum is printed wrong, because numbers have wrong

Advertisement