I have an array that looks like this
array:3 [
0 => {
"id": "1"
"name": "Product 1"
"price": "123"
}
1 => {
"id": "2"
"name": "Product 2"
"price": "23"
}
2 => {
"id": "3"
"name": "Product 3"
"price": "234"
}
]
and I'm trying to find the max, min and the avg of the array. I'm not sure what I should look for or how I should do this