floating point hex octal binary

Posted by workinprogress on Stack Overflow See other posts from Stack Overflow or by workinprogress
Published on 2008-11-27T19:04:32Z Indexed on 2010/03/13 17:55 UTC
Read the original article Hit count: 590

Hi, I am working on a calculator that allows you to perform calculations past the decimal point in octal, hexadecimal, binary, and of course decimal. I am having trouble though finding a way to convert floating point decimal numbers to floating point hexadecimal, octal, binary and vice versa.

The plan is to do all the math in decimal and then convert the result into the appropriate number system. Any help, ideas or examples would be appreciated.

Thanks!

© Stack Overflow or respective owner

Related posts about floating-point

Related posts about hexadecimal