HP Forums

Full Version: ROUND and vectors in CAS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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].
Indeed, I'm fixing that.
Reference URL's