[Gambas-user] Ambiguous expression?

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Mar 10 19:34:07 CET 2010


1/2 = 0.5
1\2 = 0
3\2 = 1

"\" operator gives only integer part.

Jussi


On Wed, Mar 10, 2010 at 19:48, Alessandro Rinaldi
<alerinaldi at ...2334...> wrote:
> I really think yes.
> Standard symbol for fractions is /, why should you use \?
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> 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