how can we make a digit after decimal appear like a superscript in java.
here is the example
I have the price say suppose
$14.98, is there a way that i can print those .98 as supercript.
thank you
this is how i am getting price value
<%=price.getBasePrice().setScale(2, BigDecimal.ROUND_HALF_UP).toString()%>
http://jsfiddle.net/tD9PW/