Le 01/08/2015 09:40, Olivier Cruilles a écrit :
> hello,
>
> myInteger = Cint(val(myString))
>
> Olivier
>
>
>> Le 1 août 2015 à 01:39, nando <nand...@nothingsimple.com> a écrit :
>>
>> I'm putting this out there...
>>
>> I'm using MkInteger$, MkShort$
>>
>> Who knows what the opposite functions would be.  I can't find them
>>
>>
>> myString = MkInteger$(12345678)   'convert an integer to a string 
>> representation
>> myInteger = ?? (myString)         'convert back to an integer
>>
>> anyone?
>> -Nando
>>

No, its Integer@():

Print Integer@(MkInteger$(12345678))
12345678

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to