>>however I still need to make it convert whole numbers instead of just integers. Ex: 0.22 or 13.587 etc.
Whole numbers are integers. 0.22 and 13.587 are decimals. You may need to develop a more complex algorithm mathematically for this. I'm not sure that just using the % operator will work, though it may be part. I'd say work through a few of them with paper/pencil before tackling the program.
>>I also need to be able to convert negative numbers.
That's fairly easy. Figure out whether it's a negative number. If it is, take the negative sign away and make it positive. Convert the positive number, then stick the negative sign back in front.
VernonDozier
Posting Expert
5,527 posts since Jan 2008
Reputation Points: 2,633
Solved Threads: 711