Re: Automatic typecasting of int to float

2013-12-14 Thread Petrus Hyvönen
Hi, Yes sorry it should have been float(tmp). Yes, could be added to the java code, and if it's complex its probably not an issue in many cases. Regards /Petrus On 14 Dec 2013, at 20:59 , Andi Vajda wrote: > >> On Dec 14, 2013, at 16:46, Petrus Hyvönen wrote: >> >> Hi! >> >> I am conve

Re: Automatic typecasting of int to float

2013-12-14 Thread Andi Vajda
> On Dec 14, 2013, at 16:46, Petrus Hyvönen wrote: > > Hi! > > I am converting some java code to python scripts, using a JCC wrapped library. > > One thing that strikes me is that java seems to have a automatic typecast of > int to float, which is not present in the JCC wrapped library. > >