Print Page | Close Window

bug - SUM formula

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=16492
Printed Date: 15 November 2024 at 11:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: bug - SUM formula
Posted By: User777
Subject: bug - SUM formula
Date Posted: 23 March 2010 at 7:47am
hi,

We found issue in ActiveX Report control (13.2.1) and (13.3.1)

we calculate column total for currency data type and in source works fine as expected but when we compile .exe don't work as You can see

1. TOTAL = 27,21 >>>> result
2. TOTAL = 27.00 >>>> compiled exe






our regional setting:
123.456.789,00

UNICODE .ocx

uploads/20100323_073950_test_report.zip - uploads/20100323_073950_test_report.zip



regards
 



Replies:
Posted By: Baldur
Date Posted: 24 April 2010 at 10:10am
I think, you should provide the values as double instead of strings:
.AddItem 4#
.AddItem 10.2
 
The conversion from String to Double is somtimes depending on the current locale (Decimalpoint or comma) and the locale may be different in the ide or at runtime. If you use i.e. the val()-function in VB, it expects only decimalpoint and will stop the converting at the comma.


Posted By: User777
Date Posted: 06 May 2010 at 4:32am
still not working :(


Posted By: SuperMario
Date Posted: 06 May 2010 at 10:09am
We told you we fixed it in your issue a few weeks ago.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net