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