SMath Forum SMath Studio Questions loop while 1 Pages (5 items) loop while - loop while from mathcad prime to SMath Studio - Messages Go to last post #1 Posted: 2021/9/11 14:25:54 Erick Valentino 7 likes in 28 posts. Group: User How can I do this loop while?what am I doing wrong? NR.sm (8.06 KiB) downloaded 626 time(s). #2 Posted: 2021/9/11 15:00:19 Erick Valentino 7 likes in 28 posts. Group: User I think it already came out, but how do I make the numbers that are almost 0 not appear as 2.72 * 10 ^ -17? #3 Posted: 2021/9/11 15:23:39 overlord 580 likes in 1,348 posts. Group: Moderator Add a check for every element if they are lower than something.And if they are, make them zero.Regards 1 users liked this postErick Valentino 2021/9/11 15:40:00 #4 Posted: 2021/9/11 15:43:26 Erick Valentino 7 likes in 28 posts. Group: User WroteAdd a check for every element if they are lower than something.And if they are, make them zero.Regardswhat function does this have?Thank you so much #5 Posted: 2021/9/11 16:09:46 overlord 580 likes in 1,348 posts. Group: Moderator Wrotewhat function does this have?That is cases(), it is in Custom Functions plugin.I would prefer to write your algorithm like attached.It is just my preference by the way.RegardsNR_r1.sm (9.6 KiB) downloaded 624 time(s). 1 Pages (5 items) New Posts No New Posts