File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Displaying Fraction with Java
Joined: Jul 27, 2011
Aug 03, 2011 08:09:49
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.
Joined: Oct 14, 2005
Aug 03, 2011 09:42:18
That all depends on what you mean by "display". Display where? In what context?
I agree. Here's the link:
subject: Displaying Fraction with Java
Trouble comparing fractions
how to display decimal point
BlueJ Error Message Please Help
Performance issue with 3 lac records. (Spring,Hibernate, JSTL)
Struts iterate tag and formatting
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014