Opengist Logo Gist@portalZINE

Explore

  • All gists
  • Topics
  • Users
Data Privacy
Give feedback on the new UI Powered by Opengist ⋅ 27ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
N

Numbers

Recently created Least recently created Recently updated Least recently updated
portalzine

portalzine / Getting the average of an array of numbers

Last active 3 months ago Coding Numbers Solutions
0 0 2
1 $average_of_myfoos = array_sum($myfoos) / count($myfoos);