Skip to main content

8 replies

19-Tanzanite
June 3, 2016

Sorry, but in Mathcad Prime there is no good way to do this.

Please do not post the same question twice.

1-Visitor
June 3, 2016

Below screenshot shows possible workaround...

explicit+float.png

19-Tanzanite
June 3, 2016

Below screenshot shows possible workaround...

Sorry, but no. I'll avoid going into one of my (fairly frequent) rants about this, but the float keyword does not just affect the precision of the displayed result, it affects the precision of the calculations. So it's use, especially with a small number of digits, can lead to wrong answers (well, they are right of course, given the low precision of the calculations, but not what is probably expected). 

1-Visitor
June 3, 2016

It's cumbersome, but this is likely the only workaround that does not result in loss of precision.  As noted above, you can replace "float" with "round" or "Round":

Obviously, you'd want to put most of these calculations in hidden regions.

25-Diamond I
June 3, 2016