Board index » cppbuilder » Float format prob.

Float format prob.


2004-04-09 10:35:55 PM
cppbuilder30
Hello,
I'm importing data into a database from a txt file but I have problems with
format of float data imported.
I have to manually set the DecimalSeparator before tryiing to insert data
since the float type used into the txt file isn't the same of the one set in
my locale env. After the importing I set the DecimalSeparator back to its
original value. Unfortunately the databound components connected to the
dataset in which I push data show the imported data incorrectly having an
abnormal DecimalSeparator. The weirdest things is that if I close the app
and open it back anything is show correctly (also the previously imported
data).
--
Michele Santucci
================================
Software Development Manager
Celin Avio S.r.l.
----------------------------------------------------------------
Via Fontevivo, 21/M 19100 La Spezia
tel. +390187564080
================================
 
 

Re:Float format prob.

Please direct your browser at info.borland.com/newsgroups/ and read the
newsgroup guidelines. One of them asks us not to post the same question to
different newsgroups, but to pick the most appropriate one and just post
there. Thanks!
I have met another instance of this post in .language.cpp; let's restrict
the discussion to that newsgroup.