[Gambas-user] about IsFloat and IsInteger behaviour...

Stefano Palmeri stefanopalmeri at ...152...
Thu May 11 15:45:05 CEST 2006


Hi all. 

It's a lot of time from my mathematics studies at school, so excuse the
stupid question...

Please, could someone explain to me this Gambas behaviour?

------------------------------
PRINT IsFloat (Int(4 / 2))
--> True ?

PRINT IsFloat(2)
--> False
------------------------------

------------------------------
PRINT IsInteger(3.5)
--> False

PRINT IsInteger(Int(3.5))
--> False ?
------------------------------

Thanks in advance for any answer.

Regards,

Stefano Palmeri

Gambas 1.0.14
Gambas 1.9.28


 




More information about the User mailing list