area(); } $result = array_sum($area); return is_int($result) ? $result : round($result, $round_precision, PHP_ROUND_HALF_UP); } }