Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
How can a eliminate the numbers after the decimal without rounding off it.
Please do help
Solved! Go to Solution.
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.xmcd
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.
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.
Hi,
Also you can use the "trunc" function.
Terry
"trunc" worked for me, thanks a lot for the support..!!