|
-
Mar 15th, 2002, 12:53 AM
#1
Thread Starter
Fanatic Member
Well, you'd have to write a routine to do that. For example, if you have decimal 7 in Abc, you could simply print character 48 (decimal) + Abc IF Abc plus 48 is less than or equal to 57 (the "9" character).
If it's greater, then you have to 'mod' it to find out what the least significant digit should be and work your way up until you have all the right digits.
Hope this makes sense; it's a little hard to explain.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|