No I'm sorry. The variable is already an int. I just gave it an example name of intDecimalValue. Note the int at the beginning of the variable name. I meant for that to signify that it is an int variable.
I actually went ahead and created a method that will convert an integer from 0-255 to a two digit hex number, but that is a very clunky solution. So if anyone has any better ideas I'm still listening.
Main Topics
Browse All Topics





by: MogalManicPosted on 2009-09-25 at 09:42:28ID: 25424641
Try converting the decimal to an integer first. like this: tring("X")
((int)intDecimalValue).ToS