I think it's right, because an integer isn't a float. Maybe you're thinking in other function like "CanBeConvertedToFloat()" (doesn't exist in gambas but it's on my own functions set).
Regards, Ricardo Díaz 2010/12/20 Jussi Lahtinen <jussi.lahti...@gmail.com> > Hi! > > Is this correct; > ? IsFloat("123") > False > > 123 should be safe value for float, even if it can be stored to integer. > With consistent logic IsLong("1") should answer False, so I think this is > bug. > > > Gambas 3 rev 3384 @ Ubuntu 10.10 64bit > > Jussi > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user