Monday, April 16, 2012

How to make the decimals superscript, or subscript, in PHP?

I have this code:



<?php echo $price; ?>


which gives me this result:



1,500.99


Is there any way I can make the decimals superscript or subscript?



Thanks.





No comments:

Post a Comment