Post Reply 
CAS, negative numbers, and ROUND
09-14-2015, 04:53 PM (This post was last modified: 09-14-2015 05:18 PM by Helge Gabert.)
Post: #3
RE: CAS, negative numbers, and ROUND
Seems like one has to add 1 in order to get the correct result (assuming rounding to 0 significant digits is desired).

Take -0.2:

ROUND(-0.2) should result in -0.2.
ROUND(-0.2,0) should result in 0.
ROUND(-0.2,1) should result in -0.2
ROUND(-0.2,2) should result in -0.2
ROUND(-0.2,3) should result in -0.2

And that is what Home shows, but not CAS.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: CAS, negative numbers, and ROUND - Helge Gabert - 09-14-2015 04:53 PM



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