[Gambas-user] ARghhhhhhhhhhhh!!!! re big bug (I think)

Olivier Coquet olivier at ...289...
Thu Nov 13 10:46:16 CET 2003


Le Jeudi 13 Novembre 2003 10:41, Olivier Coquet a écrit :
> Helpppppppppppppp!!!!!!!!!!
>
> Gambas 0.71 on Fedora core 1
>
> Dim t as integer
> Dim s as integer
>
> t= 9
> s = 2
>
>
> print t/s   =====> 4 ???????????
>
> whats wrong, 9/2 = 4.5 not 4
>
> bug or allucination

Idem with Print 9/2

result = 4

but print 9.0/2 give 4.5

realy funny !!!!!!!!!!

Regards
Olivier





More information about the User mailing list