- Eszter Zsigmond
- PowerBuilder
- Wednesday, 29 May 2019 07:31 AM UTC
I'm experiencing a problem in connection with string-double conversion in PowerBuilder:
If HKCU/Control Panel/International/LocaleName registry entry is set to a language code with a sub-form of the language (e.g. en-US), and the HKCU/Control Panel/International/sDecimal entry is set to anything, except dot (.), then PB gives a wrong result to string-double conversion (e.g double('1.5') evaluates to 1). If I change the LocaleName entry to a language code without a sub-form (e.g. hu), then the string to double conversion works alright. However, I don't want to modify LocaleName (its current value is en-US). Do you have any idea, where does PB use this registry entry, and how can I fix this problem? (I tried to trace it with Process Monitor, but it gives me no result.)
PB version: Powerbuilder 2017 R3
Database: Oracle Database 12c
OS: Windows 10
Regards,
Eszter
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.