RE: [iText-questions] Question about ByteBuffer.formatDouble

2005-12-15 Thread Adam Goode
This solves my problem. Thank you very much! Adam On Thu, 2005-12-15 at 12:21 +, Paulo Soares wrote: > ByteBuffer.formatDouble() is designed to be fast and output 5 > significative digits, not 5 decimal digits in all cases. This compromise > works well but I also realize that for the odd ca

RE: [iText-questions] Question about ByteBuffer.formatDouble

2005-12-15 Thread Paulo Soares
ts if ByteBuffer.HIGH_PRECISION = true. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Adam Goode > Sent: Thursday, December 15, 2005 5:13 AM > To: [email protected] > Subject: [iText-questions] Question abo

[iText-questions] Question about ByteBuffer.formatDouble

2005-12-14 Thread Adam Goode
Hi, I am using iText 1.3.6 to do some drawing in PDF. I was wondering why ByteBuffer.formatDouble does some things, (and why it appears to reimplement something like java.text.DecimalFormat). Most things seem ok, but why if (1.0 <= d <= 32767) then precision is truncated to 2 decimal places? It l