[chuck-users] devide issue?

Kassen signal.automatique at gmail.com
Wed May 10 03:03:05 EDT 2006


Hi list,

Deviding a int by a int results in a int returned like here;
------
<<<(2 / 3)>>>;

//or even like this;

2 / 3 => float a;
<<<a>>>;
------

Is that realy the intended behaviour?
In that last case I personally find what happens a bit silly.

If this realy is the way it should be I think it would be nice to add
a line about this to the manual because I only found out what was
happening exactly after several rounds of testing. Perhaps this is
typical behaviour for some languages but I wasn't used to it.

Yours,
Kas.


More information about the chuck-users mailing list