Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

The result of dividing LongLong data by a number is incorrect – PB Docs 2022 – PowerBuilder Library

The result of dividing LongLong data by a number is incorrect – PB Docs 2022

The result of dividing LongLong data by a number is
incorrect

Symptom

The result of dividing LongLong data by a number is incorrect. For
example:

Not all data of the LongLong type have this problem. If you divide
9223372036854775807 by 16, the result is correct.

Environment 

PowerBuilder 2017 R3 or later

Cause

This is a Sybase legacy issue, possibly related to algorithm
accuracy.

Solution

Use the DEC type instead of the LongLong type:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x