Support the ongoing development of Laravel.io →

Mohit

Joined 15 Nov 2017

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

Laravel collection class bug in avg() and average()

Illuminate\Support\Collection avg() and average() function gives unexpected result on collection...

Likes Replies
replied 5 years ago

Laravel collection class bug in avg() and average()

this is too ---->$collection = collect([1, 2, 3, 4, 5, 6, 7]); $chunks = $collection->chunk(4)...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.