Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Power Builder 11.5 Inconsistencies?

Status
Not open for further replies.

JoeJersey

Programmer
Jan 16, 2003
1
US
Has anyone else found that Power Builder 11.5 is giving inconsistent results? For example, when using the DEC function to convert alphanumeric numerals into a number, sometimes the expression will not verify, indicating an invalid expression, then minutes later it will verify.
 
Not sure if this is related but this is what I had to do to get consistent results with the DEC function.

Code:
decimal{4} idc_no

idc_no = round(dec(il_length / il_width), 4)

Matt

"Nature forges everything on the anvil of time"
 
years ago, there were problems with decimal datatypes. If You'd assign for example a value of 2.08, you'd get 2.07998989sdf499 or something "trashy alike" in the debugger variable.

We solved them by always using "double".
don't know if this can help you.

Miguel

regards,
Miguel L.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top