BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Aggregate column

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Mar 02, 2006 8:03 pm    Post subject: Aggregate column Reply with quote



Hi.
I have noticed that when using SumAggOperator on BigDecimal column with
defined scale as 3 it sums only two decimal places, and it gives me very
very wrong results. When i use MaxAggOperator it "finds" BigDecimal with
three decimal places. So is this normal behavior , I need this to sum
quantity.Right now i am using loadRow Event to imitate sum which gives me
right result, but if possible I would like to use SumAggOperator. And yes
aggregated column has also scale set to 3, but it looks like it is just
ignoring it. Must I write my own Sum operator, would it help, did someone
try that.
Thx in advance bye.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.