Board index » delphi » incompatible type: 'Integer' and 'Extended'

incompatible type: 'Integer' and 'Extended'

hi all,
i am getting this error
incompatible type: 'Integer' and 'Extended'
how do i convert 'Extended' datatype to 'Integer'?
thanks in advance
rashid.
 

Re:incompatible type: 'Integer' and 'Extended'


On Fri, 11 Oct 2002 20:35:02 +0800, "Mohd Rashid Atan \(R21\)"

Quote
<m...@pacific.net.sg> wrote:
>hi all,
>i am getting this error
>incompatible type: 'Integer' and 'Extended'
>how do i convert 'Extended' datatype to 'Integer'?

Use round(x) or trunc(x).

Duncan Murdoch

Re:incompatible type: 'Integer' and 'Extended'


Round()
Trunc()

"Mohd Rashid Atan (R21)" <m...@pacific.net.sg> wrote in message
news:ao6ehq$qh7$1@nobel.pacific.net.sg...

Quote
> hi all,
> i am getting this error
> incompatible type: 'Integer' and 'Extended'
> how do i convert 'Extended' datatype to 'Integer'?
> thanks in advance
> rashid.

Other Threads