Hi,
there is a really strange problem with decimal using last FWH and XHB versions.
I don't know if it is FW or xHarbour related anyway with my old FWH versions (2012) all runs well.
It's a bit difficult to make a self-contained sample, anyway the problem appear in this case
nDecimals is a numeric value I have read from my database and its value is 3
if I make str(87.877,10,nDecimals) it return 88 instead of 87.877 !!!
if I make str(87.877,10,3) it return 87.877 that is correct
It's a really crazy and Dangerous situation. At the moment I have renstalled the previous FWH/XHB version to go in production.
Any ideas ?
Marco Turco
SOFTWARE XP LLP