Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Re: 1 ft Not Equal to 12 in

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-23-2017
01:55 PM

08-23-2017
01:55 PM

I have noticed that both in the older versions of Mathcad, as well as the new Prime versions, there is an issue when using both feet and inches units in a worksheet. It appears that in mathcad 1 ft is not exactly equal to 12 in (if you evaluate ft **=** 12in, the return vaule is 0). I am assuming that this is a result of 1in being equal to 0.08333333333 ft. This can become an issue when using the rounding functions when things are evenly divisible. For example, 10 ft / 12in calculates to 10.000000000000002. If you were to evaluate ceil(10ft / 12in) the result would be 11 ** NOT** 10. Is there any way to resolve the internal threshold/rounding issue?

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-23-2017
06:48 PM

08-23-2017
06:48 PM

In Mathcad 15, go to "Tools", "Worksheet options", the "Calculation" tab, and uncheck "Use exact equality for comparisons and truncation". In Prime go to the "Calculation" tab, and select "Approximate equality" under "Calculation options".

I have this set this way in my default document template.

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-23-2017
06:48 PM

08-23-2017
06:48 PM

In Mathcad 15, go to "Tools", "Worksheet options", the "Calculation" tab, and uncheck "Use exact equality for comparisons and truncation". In Prime go to the "Calculation" tab, and select "Approximate equality" under "Calculation options".

I have this set this way in my default document template.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-24-2017
07:10 AM

08-24-2017
07:10 AM

Re: 1 ft Not Equal to 12 in

Thank you Richard! This solved the issue. I am just surprised that Mathcad doesn't handle these units better and that there is not some internal rounding/tolerance done to prevent this. Thank you for the answer!