Integer to String
- Posted by Eduardo Uemura Okada <cool at MII.NUTECNET.COM.BR> Jan 20, 1998
- 808 views
Hi all, I am sending a little function to perform an integer-to-string convertion. No, I am sure, the value function can perform a string-to-integer, this one makes the reverse way. Sometime past I wrote to this list asking for something like this, because I needed to write to the disk and read with getc to convert to a string, now It does in a mathematic way (or something like), I don't know if it will be useful, it can convert values from 1 to 999. Bye. Eduardo Uemura Okada e-mail: cool at mii.nutecnet.com.br begin 666 inttostr.txt M?0T*#0H)9FQA9U]S<#$], T*#0H):68@9&%T83X],3 P('1H96X-"@D):68@ M9&%T83PQ,# P('1H96X-"@D)"69L86=?<W Q/3$-"@D)"7-T<FEN9SUA<'!E M;F0H<W1R:6YG+&9L;V]R*&1A=&$O,3 P*2D-"@D)"61A=&$]9&%T82TH9FQO M;W(H9&%T82\Q,# I*C$P,"D-"@D)96YD(&EF#0H)96YD(&EF#0H):68@9FQA M*0T*"0D)<W1R:6YG/6%P<&5N9"AS=')I;F<L9&%T82D-"@D)"61A=&$], T* M,"DJ,3 I#0H)"0ES=')I;F<]87!P96YD*'-T<FEN9RQD871A*0T*"0D)9&%T M"7-T<FEN9SUA<'!E;F0H<W1R:6YG+&9L;V]R*&1A=&$O,3 I*0T*"0D)9&%T M<W1R:6YG+&1A=&$I#0H)"0ED871A/3 -"@EE;F0@:68-"@EI9B!D871A/CTQ #:6]N ` end