View Single Post
Old 08-22-2008, 06:29 AM   #1856
dplax
Jack Burton
 

Join Date: July 19, 2003
Location: an expat living in France
Age: 40
Posts: 5,577
Default Re: Has there been a question thread before?

Well, I gave it a try in PHP, since that is what I had readily available and easily presentable.

The result can be seen at:

http://files.themightypen.net/Patrick/convert.php
(naturally, the above file doesn't generate a valid HTML page...I just couldn't be bothered)
PHP function used was: http://fr.php.net/manual/en/function.base-convert.php

It should be able to convert floating point numbers, but doesn't...(it converts the number as 31415 and gives the correct answer for that...)

Should I look into it once I'm not at work and have better resources available?
dplax is offline   Reply With Quote