The general syntax of a typecast is
type(expression)
where type is one of
char,
int or
real,
and expression is any arithmetic
expression.
When typecasting a real expression to int, the fractional part of the value is truncated!
See also Type Conversions
Index | Copyright © 1999 CadSoft Computer GmbH |