Post Reply 
ROUND instruction not working as expected
05-01-2016, 03:33 AM (This post was last modified: 05-01-2016 03:43 AM by informach.)
Post: #7
RE: ROUND instruction not working as expected
Hi!, Bob Frazze:

Round: Rounds value, to decimal places. Also accepts, complex numbers.
ROUND(value,places)
ROUND can also round, to a number, of significant digits, if places, is a negative integer (as shown in the second example below).
Examples:
ROUND(7.8676,2) returns 7.87
ROUND(0.0036757,-3) returns 0.00368

If you configure FIX 4 decimal's, the result is with 4 decimals, but, the ROUND, rounded the number, but not determine, the number, of decimals.
The ROUND criterion, is ... if the result, is < 1.2350, the final ROUND is 1.2300; however if is > 1.2350, the final ROUND is 1.2400.

Kind Regards.
informach.


Attached File(s) Thumbnail(s)
               
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ROUND instruction not working as expected - informach - 05-01-2016 03:33 AM



User(s) browsing this thread: 1 Guest(s)