CASTI-89 TITANIUM · CALC89
remain(
Returns the remainder of a divided by b, with the sign of a.
Syntax
remain(a, b)
- Group
- Number functions
- Arguments
- Takes the dividend a and the divisor b.
- Availability
- Included
Example
| Input | Result |
|---|---|
| remain(17,5) | 2 |
Typing remain(17,5) on the home screen and pressing ENTER returns 2.
Related commands
- root(Returns the n-th root of a value, for example the cube root for n=3.
- round(Rounds a value to a given number of decimal places.
- sign(Returns the sign of a value: 1 for positive and −1 for negative numbers.
- √(Returns the square root of a value.
- abs(Returns the absolute value of a number, or the modulus of a complex number.
- angle(Returns the argument of a complex number, the angle of its point in the complex plane.
- ans(Recalls a previous answer from the home screen history: ans(1) is the last answer, ans(2) the one before.
- ceiling(Returns the smallest integer that is greater than or equal to a value.