[Gambas-user] mkinteger..and the reverse function
Benoît Minisini
gambas at ...1...
Sat Aug 1 11:09:02 CEST 2015
Le 01/08/2015 09:40, Olivier Cruilles a écrit :
> hello,
>
> myInteger = Cint(val(myString))
>
> Olivier
>
>
>> Le 1 août 2015 à 01:39, nando <nando_f at ...951...> 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
More information about the User
mailing list