[Gambas-user] Integer BUg Re Argggggghhhhhhh

Nelson Ferraz nferraz at ...184...
Thu Nov 13 13:04:10 CET 2003


Ahmad Kamal wrote:

> Benoit asserted that this is the desired functionality in the docs, 
> although I agree, that 9/2 SHOULD give 4.5.

In Python and Ruby, "print 9/2" gives 4.
In Perl and JavaScript, it gives 4.5.

It seems to be a design decision.

-- 
[]s

Nelson

________________________________________________________________
Nelson Ferraz

GNU BIS: http://www.gnubis.com.br
PhPerl:  http://www.phperl.com






More information about the User mailing list