A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
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
Struts iterate tag and formatting
Trouble comparing fractions
BlueJ Error Message Please Help
how to display decimal point
Performance issue with 3 lac records. (Spring,Hibernate, JSTL)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014