>The MOD() finction is not integer arithmetic finction. It operates on the numeric expression and produces the numeric value as result. See help for details.
One interesting case where mod() can be used is to reduce angles to a standard value between 0 and 2*pi(). E.g., 370 degrees is the same as 10 degrees; but in higher mathematics (and in most programming languages), angles are expressed in radians. Dividing mod 2*pi() gives the "normalized" angle.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)