![]() |
|
Navigation |
Synopsis Numeric values.
Types
int , real , num
Usage
import Number; (deprecated: use import util::Math; )
Details Addition Conditional Division Equal GreaterThan GreaterThanOrEqual LessThan LessThanOrEqual Multiplication Negation NotEqual Remainder Subtraction
Description Numbers include integers (values of type
int ) and reals (values of type real ).
If both operands have the same type (int or real ) then the operator is the corresponding operator on integers or reals. Otherwise, integer arguments are first converted to real and the real operator is applied.
The following operations are provided on numbers:
![]() |