Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/23/07 12:29
Read: times


 
#139648 - What do you mean?
Responding to: ???'s previous message
Do you mean you have a variable containing a numerical value, and you want to convert that into a text format for display?
eg, convert from number 6310 = 0x3F = 1111112 to text "3F" (ie, character '3' followed by character 'F').

Or are you receiving text-based input, and you want to convert that to a number for use in calculations?
eg, receive text "3F" (ie, character '3' followed by character 'F') and convert to number 6310 = 0x3F = 1111112

In either case, it's been discussed plenty before - try a 'Search'

Remember: when the value is stored as a number in a variable, its radix (hex, binary, decimal, etc) is irrelevant - you just use it as a number.

List of 18 messages in thread
TopicAuthorDate
Dec to Hex Converter.            01/01/70 00:00      
   What do you mean?            01/01/70 00:00      
      Dec to Hex Converter.            01/01/70 00:00      
         Think about it!            01/01/70 00:00      
            Dec to Hex Converter.            01/01/70 00:00      
               Think about it!            01/01/70 00:00      
   Try the code Library            01/01/70 00:00      
   Not understand            01/01/70 00:00      
      Gee Wiz            01/01/70 00:00      
         Olympic sprinting before crawling?            01/01/70 00:00      
            You are right, and ...            01/01/70 00:00      
               GREAT            01/01/70 00:00      
               Dechex            01/01/70 00:00      
                  I would call this...            01/01/70 00:00      
                  What is a "4m remote" ?            01/01/70 00:00      
      Back to basics            01/01/70 00:00      
      Example            01/01/70 00:00      
      Conversion            01/01/70 00:00      

Back to Subject List