HH\Lib\Math\sum_float

This API is part of the Hack Standard Library, not HHVM itself.

Returns the float sum of the values of the given Traversable

namespace HH\Lib\Math;

function sum_float<T as num>(
    Traversable<T> $traversable,
): float;

For an integer sum, see Math\sum().

Parameters