In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: You seem to be chasing a ghost that doesn't exist. Decimal 30 is hex $1E which is binary %00011110 -- the value is all the same. When you say you want it to come back as "1E", what EXACTLY do you mean? Do you want to display "1E" on something like an LCD (Sparks showed you how, above), or use the value 1E in some equation or function? If the latter, [i]you don't have to do anything[/i] -- again 30 is $1E (the $ is just for us humans to indicate hex representation of the value). ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=182777#m183220 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)