HP Forums
ROUND and vectors in CAS - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: ROUND and vectors in CAS (/thread-1465.html)



ROUND and vectors in CAS - Helge Gabert - 05-29-2014 11:22 PM

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].


RE: ROUND and vectors in CAS - parisse - 05-30-2014 07:10 AM

Indeed, I'm fixing that.