wood burning stoves
The moose likes Beginning Java and the fly likes Displaying Fraction with Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Displaying Fraction with Java" Watch "Displaying Fraction with Java" New topic

Displaying Fraction with Java

Apple Khoa
Ranch Hand

Joined: Jul 27, 2011
Posts: 37
Dear all,

Is it possible to display fractions as how human will normally write [e.g. superscript(3) / subscript(4)] with Java, rather than displaying it as "3/4"?

I am aware that Latex can display fractions, but from what I can understand, it cannot be embed into Java code to give a .java file. Kindly correct me if I am wrong.

All advices will be greatly appreciated.

Thanks in advance.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

That all depends on what you mean by "display". Display where? In what context?
I agree. Here's the link: http://aspose.com/file-tools
subject: Displaying Fraction with Java
It's not a secret anymore!