send q VRf-VEE_Oracle ww vrf EU-BENG_LEE@HPSGIT.desk.hp.com
from: Greg Goebel / HP-MXD
gvg@lvld.hp.com / 970-679-3030 / FAX 970-679-5971
to: Eu-Beng Lee / HP Singapore
date: Monday, 17 June 1996 1338 MDT
> I have a problem with the real number entry formatting for VEE. For
> example, if I enter 100n into a Data->Constant_>Real object, it gets
> stored as 99.9999999n. When this number is displayed in my user
> interface, it still displays as 99.9999.. Is there any way to overcome
> this problem?
This will often happen when you have your numeric precision set high -- you
can change the precision in the Edit Properties -> Number tabfolder for the
relevant object. Please note that on a computer floating-point values are in
binary and often are not an exact duplicate of a decimal number ... this is
more visible on VEE than on non-visual programming languages.
However, I can't duplicate what you are seeing here, at least not precisely.
What version of VEE are you using? Could I see an example?
> 2) I have a customer who wishes to use VEE to poll data from a serial
> interface and then send the data via a network to an Oracle database.
> Is there an application in VEE to 1. Send data files over a network,
No application, but if the computer is part of a remote file system then a
remote directory is effectively the same as a local one and VEE knows no
difference.
> 2. Write data in an Oracle format? Do we have any customers who have
> done this before?
Not that we know of. I will copy the VEE user forum on this to see if anyone
has tried it.
> Thanks & regards,
> Eu-Beng
Please stay in touch.
[<>] regards -- gvg
from: Greg Goebel / HP-MXD
gvg@lvld.hp.com / 970-679-3030 / FAX 970-679-5971
to: Eu-Beng Lee / HP Singapore
date: Monday, 17 June 1996 1338 MDT
> I have a problem with the real number entry formatting for VEE. For
> example, if I enter 100n into a Data->Constant_>Real object, it gets
> stored as 99.9999999n. When this number is displayed in my user
> interface, it still displays as 99.9999.. Is there any way to overcome
> this problem?
This will often happen when you have your numeric precision set high -- you
can change the precision in the Edit Properties -> Number tabfolder for the
relevant object. Please note that on a computer floating-point values are in
binary and often are not an exact duplicate of a decimal number ... this is
more visible on VEE than on non-visual programming languages.
However, I can't duplicate what you are seeing here, at least not precisely.
What version of VEE are you using? Could I see an example?
> 2) I have a customer who wishes to use VEE to poll data from a serial
> interface and then send the data via a network to an Oracle database.
> Is there an application in VEE to 1. Send data files over a network,
No application, but if the computer is part of a remote file system then a
remote directory is effectively the same as a local one and VEE knows no
difference.
> 2. Write data in an Oracle format? Do we have any customers who have
> done this before?
Not that we know of. I will copy the VEE user forum on this to see if anyone
has tried it.
> Thanks & regards,
> Eu-Beng
Please stay in touch.
[<>] regards -- gvg