: MIDRANGE dot COM Mailing List Archive

Re: DecimalFormat


AddThis Feed Button


Hi,
please use plain text!

Am Donnerstag, 13. Dezember 2001 15:09 schrieben Sie:
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
snip

> I use DecimalFormat to round float variables into either two decimals or
> zero decimal by using:
> DecimalFormat two = new DecimalFormat("0.00");
> DecimalFormat zero = new DecimalFormat("0.");

why don't you use BigDecimal?

--
mfG

Dieter Bender






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2007 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact

.

counter