- :integer
- :floating
- :rational
- :quantity
- or :nothing
mod
%
calculate the modulo of given values and return result
Parameters
mod valueA :integer :floating :rational :literal :quantity valueB :integer :floating :rational :quantity
Returns
Examples
copyprint mod 5 2 ; 1 print 9 % 3 ; 0
copya: 8 mod 'a 3 ; a: 2