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

Last Updated: 12 June, 2024