You need to use either the Round function or the Trunc function to make the conversion.
[pascal]
MyRect.x := Round(x); // where x is your real variable
[/pascal]
or
[pascal]
MyRect.x := Trunc(x); // where x is your real variable
[/pascal]
You need to use either the Round function or the Trunc function to make the conversion.
[pascal]
MyRect.x := Round(x); // where x is your real variable
[/pascal]
or
[pascal]
MyRect.x := Trunc(x); // where x is your real variable
[/pascal]
<A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
<br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
<br /></A>
Bookmarks