Skip to main content
7-Bedrock
June 20, 2023
Solved

How to limit in equal to

  • June 20, 2023
  • 1 reply
  • 2387 views

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

 

Best answer by terryhendicott

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

1 reply

19-Tanzanite
June 20, 2023

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

 

 



21-Topaz II
June 20, 2023

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

7-Bedrock
June 20, 2023

Thank you verry much terry, It works.

 

Thank you Cornel for your advice!