Post Reply 
ROUND and vectors in CAS
05-29-2014, 11:22 PM (This post was last modified: 05-30-2014 01:29 AM by Helge Gabert.)
Post: #1
ROUND and vectors in CAS
Just ran into this, in CAS

ROUND([0.98744 1.002],1) returns [0.9 1]. ??

But ROUND(0.98744,1) returns 1, as it should.

No problems with this in Home view.

edit: seems to affect the first element of a 2-element vector, e.g., ROUND([1.99 1.99]) returns [1 2], but ROUND([1.99 1.99 1.99]) returns [2 2 2].
Find all posts by this user
Quote this message in a reply
05-30-2014, 07:10 AM
Post: #2
RE: ROUND and vectors in CAS
Indeed, I'm fixing that.
Find all posts by this user
Quote this message in a reply
Post Reply 




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