[Gambas-user] Integer BUg Re Argggggghhhhhhh

Fabien Bodard gambasfr at ...11...
Fri Nov 14 09:57:18 CET 2003


Salut

Alors comme, ça on se moque?

C'est po bien !
;-)

Sinon t'a commencé ton logiciel ?

Fabien

----- Original Message -----
From: "Olivier Coquet" <olinux at ...289...>
To: <gambas-user at lists.sourceforge.net>
Sent: Thursday, November 13, 2003 7:17 PM
Subject: Re: [Gambas-user] Integer BUg Re Argggggghhhhhhh


Le Jeudi 13 Novembre 2003 15:15, Fabien Bodard a écrit :

> so
> i as interger
> s as integer
> i = 4
> s = 2
> print i/s  => give 5
>
> i as interger
> s as float
> i = 4
> s = 2
> print i/s  => give 4.5
>
> i as interger
> s as integer
> i = 4
> s = 2
> print i/CFloat(s)  => give 4.5
>
> Fabien Bodard
I think your answer is something like martian peoples can understant :=)

4/2 in float, non float, integer and other give alway on earth,  2..... lol
:=)

regards
olivier





-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list