otp.math.mod#
- mod(value1, value2)#
Computes the remainder from dividing
value1byvalue2.- Parameters:
- Return type:
Examples
>>> data = otp.Tick(A=100, B=72) >>> data['MOD'] = otp.math.mod(data['A'], data['B']) >>> otp.run(data) Time A B MOD 0 2003-12-01 100 72 28
See also
MOD OneTick functiondiv