Search ('all' for everything):
Search results:
&pos — scanning position
=s — match string in scanning
move — move scanning position
s ? expr — scan string
tab — set scanning position

Index of Function Types:
affects &pos
character sets
co-expressions
control structures
file processing
generators
infix operations
keywords
lists, sets and tables
math
metadata
output formatting
pattern matching
prefix operations
records
strings
windows and keyboards

Index of Subsystems:
base
digitcnt.icn
SNOBOL4 functions
 
compute remainder
 
Description

N1 % N2: N3
N1 % N2 produces the remainder of N1 divided by N2. The sign of the result is the sign of N1.
 
Parameters
N1
numeric
N2
numeric
returns
remainder as numeric. If N1 and N2 are integer the result is integer.
 
Errors
102 N1 or N2 not an integer or real
202 N2 = 0
204 real underflow or overflow
 
See Also
  • exp — compute exponential
  • sqrt — compute square root
  • N^N — compute exponential