thnks asCurrency solve the problem. asFloat is not working stable because i tried 0,86 value it worked like 0,96 but 0,76 is working normally and 0,66 0,56 is working normally too. Interesting [ponder]
hi all;
i am using firebird 2.5, fibplus and delphi xe2 (updated) on windows7 64 bit.
if dYMBP['HKS_PUANI'].AsFloat >= 0.96 then
extHKS := 1.05
else
extHKS := 1;
returns extHKS = 1;
At db dYMBP['HKS_PUANI'].AsFloat value is 0.96 and HKS_PUANI field is numeric(2,2). if i change the...
hi all
i am making some calculations in my function like below
Code:
select x / t from tbl_q;
x = 2500 t=1000
Result = 2
its turning me 2 but i want 2.5
how can i solve this problem can u show me the way?
pg 8.2.4 platform windows.
Best Regards..
hi all;
how can i insert or update in the after insert or update trigger fro the same table. when i try this the trigger is firing again fire in trigger.
for example :
trigger for tbl_x after insert or update for each row;
create or replace function fooo();
begin
update tbl_x set fld1='1'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.