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

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

SOLVED
Level 7

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

 

 

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

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

Hi,

 

Also you can use the "trunc" function.

 

Terry

5 REPLIES 5

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

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

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

Hi,

 

Also you can use the "trunc" function.

 

Terry

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

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


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

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

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

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