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 Geometry.ts Line 648 Last Updated: 11 June, 2024