Agree about "normal font." But "left-to-right" is a bit steep, thank you. And we aren't that fond of the "let me Google that for you site." It is however, good for a laugh to try that link and see what it produces
K Tsang is right about Integer.parseInt() and Double.parseDouble(); in fact there are similar methods in most of the subclasses of the Number class (or the subclass constructors) for getting numbers out of Strings.
You can also read a number from a text file, keyboard input, etc, with the nextXXX() methods of the Scanner class.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com