1. Michael Faller
  2. PowerBuilder
  3. Friday, 26 April 2024 06:48 AM UTC

Hi,

since 2 months we are confronted with an issue in our app wich ends in setting the decimal places of a floating number to "0". 

This happens immediatley after entering an decimal number and leaving the column. The digits after the floating point are set to "0". The number of the digits corresponds to the defined display format. After that an update() saves the numbers with ".00" to the database. This is a serious problem for us. 

We can't reproduce the problem at any time.

The columns where the problem occurs have columntype "number" and are defined with a display format (eg. #,##0.00). In some cases an edit format ist defined (eg 0.00). 

Currently we use PB 2022 R2 Build 2819.

Does anyone knows how to solve this issue? 

We found a posting to an similar problem (https://community.appeon.com/index.php/qna/q-a/computed-expression-decimal-point-issue). But we allready use a newer build.

Thanx! 

David Peace Accepted Answer Pending Moderation
  1. Friday, 26 April 2024 10:32 AM UTC
  2. PowerBuilder
  3. # 1

Looking at the link to the reported problem, the guy who reported it said: "We solved the issue  by using "decimalmask!" as the MaskDataType - which is actually the right configuration entry for that." Perhaps you need to follow this to fix your problem.

Comment
There are no comments made yet.
Michael Faller Accepted Answer Pending Moderation
  1. Friday, 26 April 2024 08:17 AM UTC
  2. PowerBuilder
  3. # 2

Hi.

 

What newer build did you checked? Did you checked R2 or R3?

Andreas

 

PB 2022 R2 Build 2819

Michael

Comment
  1. Andreas Mykonios
  2. Friday, 26 April 2024 10:52 AM UTC
Build 1900 also had some fixes related to decimal numbers. Worth to try it. Also it would be nice if you tested the same problem on 2022 R3 3356.

Andreas.
  1. Helpful
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Friday, 26 April 2024 07:08 AM UTC
  2. PowerBuilder
  3. # 3

Hi.

 

What newer build did you checked? Did you checked R2 or R3?

Andreas

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.