cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How can eliminate the numbers after the decimal in mathcad result?

vishnut
4-Participant

How can eliminate the numbers after the decimal in mathcad result?

How can a eliminate the numbers after the decimal without rounding off it.

Please do help

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

Also you can use the "trunc" function.

 

Terry

View solution in original post

5 REPLIES 5

Hi,

in Prime look under "Math Formatting" tab on the top ribbon.

Simply experiment with the settings that are available.

 

in Mathcad 15 settings are under "Format | Results" in the menu at top of screen

 

Cheers

Terry

I ask 20 years MathSoft/PTC show not digits AFTER decimal point but COMMON numbers of digits in answer.

I use in Mathcad Calculation Server one function for this

See one example please

http://twt.mpei.ru/MCS/Worksheets/rbtpp/eng/tab1.xmcddigits.png


What you show is not really helpful without revealing the method how to do it, isn't it?

Here's a simply way to round a value to any number of significant digits rather than to a number of decimals. B1.png

 

But the OP had asked for something quite different, namely the possibility of cutting off the decimal places.

And the answer was already given by Terry.

Mathcad offers a function to do exactly what was asked for - "trunc".

If negative numbers should be treated differently, "floor" might be an option.

B2.png

Hi,

 

Also you can use the "trunc" function.

 

Terry

"trunc" worked for me, thanks a lot for the support..!! Smiley Happy

Top Tags