- ENRICO MENEGOTTO
- .NET DataStore
- Monday, 23 May 2022 04:41 PM UTC
Hi all
we found a problem during dataconvertion using Snapdevelop to migrate an existing NVO from PB.
There the sample to reproduce the bug
POWERBUILDER SYNTAX
ls_risultato = lds_eval.describe ( 'evaluate( " ' + testo_formula + ' ")' )
When testo_formula is if(1=1,2.1,3.1) powerbuilder returns 2.1
SNAPDEVELOP SYNTAX
risultato = lds_eval.Evaluate<String>("String(" + testoFormula + ")");
When testo_formula is if(1=1,2.1,3.1) snapdevelop returns 21 (the decimal separator is lost)
Is this a bug in the internal.NET datastore implementation of Evaluate?
Thanks in advance.
BYE ::)
Enrico Menegotto
CSTEAM - Italy
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.