HI Guys
Just a quick one, I'm looking for some brain stimulation.....
I have a PB app which is calling a stored procedure in MS SQL Server, it passes a load of decimal values in/out, the returned values from the procedure (if run in management studio) show values to the right number of decimal places, be it 2 or 4. The stored procedure us called using RPCFunc. From a PB point of view the variables are declared as decimal from SQL server they are numeric(n,d).
My problem is that some (not al) are rounding to integers or 2 decimal places for one that is defined as 4. Not seen this before and for the life of me cannot see the silly problem.
Eg. 5.56 is returned at 6.00 and 1.8040 is returned as 1.80
Here are the versions etc:
PB 12.5.2 Build 5583
MS SQL Developer Edition Version 10.50.1600.1
Clearly something quite stupid,..... suggestions please