[prev in list] [next in list] [prev in thread] [next in thread]
List: poi-user
Subject: Re: Decimal number is fetched wrong when i use Event model and sax parser
From: manivel <manivel.mymail () gmail ! com>
Date: 2012-10-25 13:08:24
Message-ID: 1351170504805-5711295.post () n5 ! nabble ! com
[Download RAW message or body]
Hi Nick,
My problem is solved by using following code.
BigDecimal.valueOf(Double.parseDouble(n)).toPlainString();
where n is the decimal value fetched through SAX parser.
Thanks a lot in helping.
-Mani
--
View this message in context: \
http://apache-poi.1045710.n5.nabble.com/Decimal-number-is-fetched-wrong-when-i-use-Event-model-and-sax-parser-tp5711229p5711295.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic