API Reference > geometry-core > CartesianGeometry > NumberArray > sum sum MethodStatic return the sum of numbers in an array. Note that "PreciseSum" may be more accurate. sum(data: number[] | Float64Array): number Parameter Type Description data number[] | Float64Array Returns - number Defined in geometry3d/PointHelpers.ts Line 75 Last Updated: 11 June, 2024