Divide by 10 Error
Posted: Thu 17 May 2007 22:08
I have a problem with the new (self compiled) Version of dbexpmda.dll.
The values of a field of type decimal(10,2) are divided by 10 so 100 gets 10 and 2 is 0,2
Changing the Type to float returns the correct values
How can I debug this problem to solve it ?
here is my makefile - the other files are untouched !
it's BDS2006 with the latest SP
set Ide="c:\Program Files (x86)\Borland\BDS\4.0\Bin\dcc32.exe"
%Ide% -LE. -K400000 -B -V- -VR- -DDBX30 -$D- -$Y- -$L- -$O+ -E dbexpmda.dpr
The values of a field of type decimal(10,2) are divided by 10 so 100 gets 10 and 2 is 0,2
Changing the Type to float returns the correct values
How can I debug this problem to solve it ?
here is my makefile - the other files are untouched !
it's BDS2006 with the latest SP
set Ide="c:\Program Files (x86)\Borland\BDS\4.0\Bin\dcc32.exe"
%Ide% -LE. -K400000 -B -V- -VR- -DDBX30 -$D- -$Y- -$L- -$O+ -E dbexpmda.dpr