Skip to main content
7-Bedrock
Jun 20, 2023 7:42 AM UTC
Solved

How to limit in equal to

Hello, I have a question. As you can see in attached picture, i want to create function if IL1 equal to IL2, but I want the equal to function to only consider 4 number of decimal places (ie: 0.6193). Is it possible? I use Mathcad Prime. Thank you

 

terryhendicott
21-Topaz II
Jun 20, 2023 7:59 AM UTC

Hi,

Math formatting only affects the way it is displayed it still is operating at full accuracy.

The trick is to use the round feature then compare if equal.

Capture.JPG

It is possible to do this to whole vector at once

Capture.JPG

Cheers

Terry

5 replies

19-Tanzanite
Jun 20, 2023 7:51 AM UTC

Try this: click on IL1/IL2 and then click on Math Formatting tab, and change to the Decimal, and then increase/decrease to the 4 decimal numbers:

Cornel_1-1687247480388.png

 

 



Translate
terryhendicott
21-Topaz II
Jun 20, 2023 7:59 AM UTC

Hi,

Math formatting only affects the way it is displayed it still is operating at full accuracy.

The trick is to use the round feature then compare if equal.

Capture.JPG

It is possible to do this to whole vector at once

Capture.JPG

Cheers

Terry

Translate
7-Bedrock
Jun 20, 2023 9:03 AM UTC

Thank you verry much terry, It works.

 

Thank you Cornel for your advice!

 

Translate