Re: INT

From: Demetrios Panayotakopoulos (dpan__dp_at__ath.forthnet.gr)
Date: 05/16/04


Date: Sun, 16 May 2004 17:06:19 +0300

Wilson

I had experienced the sampe problem trying to convert number (seconds) to
time .
I did not understood why.
Terrible.

I corrected using (in your case) nVal=int(nVal)

Demetrios, Greece

"Wilson Thomas" <wilson@indomel.com> wrote in message
news:40a1e8b2$0$31369$afc38c87@news.optusnet.com.au...
> Friends,
>
> I have some problem with the existing code
>
> nVal = 300.000
> nVal1 = INT(nVal / 60)
>
> The correct anwser is '5'
> The anwer is '5' when I run in command window, but returning 4 within my
> program!
>
> Any reason?
>
> thanks in advance
>
> Wilson
>
>