How to hold last numerical value\digit in PG2.
Hi,
I am developing a dynamic element,
Where the No of decimal is set to -1 in VB.
so for example if I force a value(signal)to 129. in vb it's shows 120. Where has in PG2 it's trigger to 130.
in PG2 element level I have set No of decimal to -1, the value is holding till 5 after it's trigger the 2nd value. It's not hold till 9 (I forced the value to 125. In vb it's showing 120, but in PG2 it's trigger to 130)
Regards,
kiran
I am developing a dynamic element,
Where the No of decimal is set to -1 in VB.
so for example if I force a value(signal)to 129. in vb it's shows 120. Where has in PG2 it's trigger to 130.
in PG2 element level I have set No of decimal to -1, the value is holding till 5 after it's trigger the 2nd value. It's not hold till 9 (I forced the value to 125. In vb it's showing 120, but in PG2 it's trigger to 130)
Regards,
kiran
Answers
Your old Vb is using TRUNC, Your new PG2 is using ROUND.
Adjust your code to suit.
Adjust your code to suit.
Add new comment