Contents | Prev | Next | Index
Numeric types include the values of smaller numeric types within the following hierarchy groups:
LONGREAL > REAL > SHORTREALLONGINT > INTEGER > SHORTINT
LONGCARD > CARDINAL > SHORTCARD
Within each group mixed-typed expressions are possible. The result type is the biggest type of its group being used in operands. If an expression uses numeric types of different groups, explicit type conversions must be used. See section standard function procedures for more information on how to convert between different types.
Contents | Prev | Next | Index
Canterbury Modula-2 for Java (Last documentation update
Feb 8, 2000)
Copyright © 1998 Mill Hill &
Canterbury Corporation, Ltd. All rights reserved
Please send any comments or corrections to
mhc@webcom.com