View Full Version : Conversion between bases

11-25-2010, 12:32 PM
Hello everyone!

Could anyone give me an object in SPIN, which makes conversion to a binary value to hexadecimal or decimal?

11-25-2010, 12:43 PM
Would the Simple_Numbers object provided by the Propeller Tool library do what you want (also available from http://obex.parallax.com/objects/182/)?

11-26-2010, 04:08 PM
Since base conversion is only required for text output you can use the routines in FullDuplexSerial. Remember, a number is just a number.