Splitting an integer
#2

Код:
new lsString[ 16 ], liNumbers[ 16 ], liNumber = 123456, liLength;
format( lsString, 16, "%d", liNumber );
liLength = strlen( lsString );
for( new i = 0; i < liLength; i ++ )
{
    liNumbers[ i ] = lsString[ i ];
}
This is the best method I can think now.
Reply


Messages In This Thread
Splitting an integer - by Daddy Yankee - 17.07.2013, 11:25
Re: Splitting an integer - by IstuntmanI - 17.07.2013, 11:29
Re: Splitting an integer - by Vince - 17.07.2013, 11:43
Re: Splitting an integer - by Daddy Yankee - 17.07.2013, 11:49

Forum Jump:


Users browsing this thread: 1 Guest(s)