🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9706

JdbTextFields and Doubles

#9706
From: bjm989
Date: Sun, 06 Feb 2000 00:00
16 lines
1291 bytes
Hi,
I've set the dataset and columnName of a JdbTextField to that a of
column with a dataType of DOUBLE. I've also set the display mask of the
column to "#########.#########". So, 9 digits before the decimal point
and nine after. However, when I enter 123456789.123456789 and tab off
the field, the displayed number changes to 123456789.12345679. So, it
looks like the number is rounded to eight digits. If I enter
1234567.123456789, then the number is not rounded, but if the whole
number part is increased beyond seven digits, a 9 digit fraction part
will get rounded. Does any one know what is going on here?
THanks,
Ben


Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <87kk5q$71n$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,fd86caa9afc8353a,start
X-Google-Attributes: gid111d45,public
From: bjm989@my-deja.com
Subject: JdbTextFields and Doubles
Date: 2000/02/06
Message-ID: <87kk5q$71n$1@nnrp1.deja.com>
X-Deja-AN: 582349138
X-Http-Proxy: 1.0 x35.deja.com:80 (Squid/1.1.22) for client 198.133.169.33
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Sun Feb 06 20:05:16 2000 GMT
X-MyDeja-Info: XMYDJUIDbjm989
Newsgroups: borland.public.jbuilder.java.swing
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)