Re: Integer to String

new topic     » goto parent     » topic index » view thread      » older message » newer message

>On Mon, 5 Jan 1998, Ralf Nieuwenhuijsen wrote:
>
>> >Hi to everyone, happy new year!
>> >I'm actually working on a demo of a battle of my RPG, so I neede a
routine
>> >to convert an integer to a string, the way I found was this, but if
anyone
>> >knows a faster way, please, send me. Thank you
>>
>> Eh.. lookup the library routine value () in get.e
>>
>> Example:
>>
>> my_integer = value("234")
>>
>> ..or..
>>
>> my_object = value (" { /" Testing /" , 4, 45.345, { 3423, 'D' } "}
>
>er Ralf, he asked for an INTEGER TO A STRING, not a STRING to an INTEGER.
>Geez.  Please READ a message before responding to it and making everyone
>think you're an idiot. =)

Oops.. blink

Well, integer to string, string to integer .. it's almost the same.

And in the documentation, it says: " See also: sprintf "
   (or at least is should say that)

Come on, I can make a mistake, I'm living on cafeine now, because I don't
have time to sleep any more.

Ralf

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu