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 core/geometry/src/geometry3d/PointHelpers.ts Line 76 Last Updated: 13 June, 2024