Well, so aritmetic operator \ doesn't accept float numbers. Thank you, Jussi
bye vuottttt -------------------------------------------- Gio 27/6/13, Jussi Lahtinen <jussi.lahti...@gmail.com> ha scritto: Oggetto: Re: [Gambas-user] 16 \ 2 ^ 3 = ...Type mismatich error.... A: "mailing list for gambas users" <gambas-user@lists.sourceforge.net> Cc: "Benoit" <gam...@users.sourceforge.net> Data: Giovedì 27 giugno 2013, 20:00 x \ y doesn't take floats (x / y however does), and exponent will return float instead of integer. Not sure this is what Benoit intended. I would expect automatic conversion, though that might lead to hidden unexpected behaviour which is worse. This should work: Print 16 \ cint(2 ^ 3) Jussi ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user