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!
Viz také Type Conversions
OBSAH | Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH |