API Reference > Geometry-core > CartesianGeometry > Geometry > modulo modulo MethodStatic Return (a modulo period), e.g. for use as a cyclic index. Both a and period may be negative. modulo(a: number, period: number): number Parameter Type Description a number period number Returns - number Defined in core/geometry/src/Geometry.ts Line 605 Last Updated: 13 June, 2024