General information
Category:
Coding, syntax & commands
Hi All
I have a strange problem in my code with a ROUND() function.
The following code works fine in command window, but inside one FUNCTION returns bad result.
*********************
*- The code...
SET FIXED ON
SET DECIMALS TO 3
DIMENSION laTest(1,1)
laTest(1,1)=112.575
?ROUND(laTest(1,1),2)
*- the result:
112.57
*********************I can't understand!!! what's wrong!!!
Any help would be great.
Thank's in advance,
NPedro
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only