*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Displaying Fraction with Java" Watch "Displaying Fraction with Java" New topic
Author

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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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
 
Similar Threads
Performance issue with 3 lac records. (Spring,Hibernate, JSTL)
Struts iterate tag and formatting
Trouble comparing fractions
how to display decimal point
BlueJ Error Message Please Help