<?php $array = [500]; $sum = 0; foreach ($array as $value) { $sum += $value; } echo number_format($value / 100, 2);
You have javascript disabled. You will not be able to edit any code.