public static sum<T extends AbstractNumber>(values... as T) as T:
Returns the sum of all numeric parameters.
Empty parameters list return 0.
print(sum(10, 20, 30)) # 60 print(sum(10.1, 20.2, 30.3)) # 60.6
The accumulated total with the same numeric type as the input values.