Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I don't want to display the result as fraction.
I also changed the default to decimal but it doesn't affect.
When i click it there is no result format that could be change.
Someone have idea? (file attached below)
Solved! Go to Solution.
You have to be aware that using the "float" modifier in symbolic evaluations affects not only the display of the result but the precision of the whole calculation. Therefore "float" should be used with great care (or better omitted).
As Luc already wrote you can follow the symbolic evaluation by a numeric one to get float results. To be able to use those results for further calculations you have to redefine kl as shown in the picture below:
I would do the calculation without any use of the symbolic engine. Simply define two ranges from 0 to 7 and use numeric calculation:
Prime 6 worksheet attached
You are using symbolic evaluation (you use an arrow '->') , instead of numeric evaluation (with an equals '='). The numerical formats ONLY apply to numerical evaluation results. You can append an equals to your symbolic result to get numeric floating point results. Or you can evaluate kl numerically right away by typing kl=.
You can also force the symbolic evaluator to produce floating point results by defining at least one of the input values to a floating number. Just add '.0' to the end of one of the integers and see what happens. You will not be immediately happy with the result. The floating point results of the symbolic evaluation can be limited by using the 'float' keyword, but beware! This actually truncates the result to the numer of decimals chosen.
Success!
Luc
You have to be aware that using the "float" modifier in symbolic evaluations affects not only the display of the result but the precision of the whole calculation. Therefore "float" should be used with great care (or better omitted).
As Luc already wrote you can follow the symbolic evaluation by a numeric one to get float results. To be able to use those results for further calculations you have to redefine kl as shown in the picture below:
I would do the calculation without any use of the symbolic engine. Simply define two ranges from 0 to 7 and use numeric calculation:
Prime 6 worksheet attached