poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhiresh <msa...@yahoo.com>
Subject DataFormat
Date Wed, 14 Dec 2011 01:40:55 GMT
 I have couple of questions regarding  Data formats
 For a  double value - I use  - style.setDataFormat(df.getFormat("0"));
 A positive double comes out fine but a negative double e.g. -432.44444 does not format to
What is the format to represent a negative double number?
I would like to know about percent as well.  I am using  - style.setDataFormat(df.getFormat("0.0%"));

that works well for positive percentage but not for negative.
I would appreciate any help.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message