[Gambas-user] Stange problem with CInt
Benoit Minisini
gambas at ...1...
Fri Mar 7 14:17:42 CET 2008
On vendredi 7 mars 2008, Steven Lobbezoo wrote:
> Hi,
>
> I have a strange problem with CInt
>
> I do :
> i = CInteger("123.00")
>
> where i is an integer and "123.00" a string of course
> I tried Cint and CInteger
>
> I get a message :
> Type Mismatch : Wanted Integer, Got string instead
>
"123.00" is not an integer because of the point. "123" is. The error message
is not really accurate in that case.
Regards,
--
Benoit Minisini
More information about the User
mailing list