S Shice Ars Tribunus Militum 26y 2,545 Jan 31, 2002 #1 Jan 31, 2002 Add bookmark #1 Is there a way to force a java program to only display a certain number of zeroes after the decimal point? Eg., a program that outputs dollar values. ••• More options Report Add bookmark Share
Is there a way to force a java program to only display a certain number of zeroes after the decimal point? Eg., a program that outputs dollar values.
Revenge of Doh Ars Praetorian 26y 578 Jan 31, 2002 #2 Jan 31, 2002 Add bookmark #2 Here's all you need http://java.sun.com/j2se/1.3/docs/api/java/text/NumberFormat.html ••• More options Report Add bookmark Share