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...

0 Likes
1 Replies
replied 6 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.

© 2024 Laravel.io - All rights reserved.