AnsweredAssumed Answered

vrf VEE Round() Bug

Question asked by VRFuser on Jul 19, 2007
Latest reply on Jul 30, 2007 by VRFuser
I discovered a bug in VEE 8.01.
Round(0) returns 0 as it should. However, Round(expression) returns -0 if the expression evaluates to 0.
For example: Round(0/5) returns -0.
Not problem if you are doing further calculations. However if you are using the result to build a string the unexpected minus sign can be troublesome.
I spent a lot of time this morning troubleshooting what looked like bad hardware only to discover that minus sign was messing up a command string I was sending to a DAC. What should have been 0000 was transmitted as 000-0 instead, which the DAC was not responding too.
My quick fix was to revert back to VEE 7.5. That was lot less paperwork than changing my code and writing ECN's.

You are currently subscribed to vrf as:
To subscribe please send an email to: "" with the word subscribe in the message body.
To unsubscribe send a blank email to "".
To send messages to this mailing list, email "".
If you need help with the mailing list send a message to
Search the "unofficial vrf archive" at "".
Search the Agilent vrf archive at "".