I have a floating point data point. I am displaying it in a text box on a panel.
It seems like when I change the number of significant digits (before and after the decimal point) when displaying it, that it limits the digits you can enter for the value of the floating point in Para. Further, it seems like the number of significant digits for a single floating point value must be the same everywhere it is displayed within the panels.
As an example, if a floating point data point is set to 123.45678 and I display it on a panel, but request only two digits after the decimal point be displayed, when I go back to Para, the number is now set to 123.45 and I can not enter more numbers after the decimal point.
Is this the way it is supposed to work or am I doing something wrong?
Setting significant digits of floating point
Search
Re: Setting significant digits of floating point
Hello,
I made some tests with the format-settings for float-elements.
Do you mean that the value is rounded before the value is written to the dp-element and therefore is is not possible to set more digits than defined?
Best Regards
Leopold Knipp
Senior Support Specialist
I made some tests with the format-settings for float-elements.
Do you mean that the value is rounded before the value is written to the dp-element and therefore is is not possible to set more digits than defined?
Best Regards
Leopold Knipp
Senior Support Specialist
Re: Setting significant digits of floating point
Yes, I mean that the number of digits you wish to display on a panel seems to limit the actual value itself. So if you wish to display only one digit after the decimal point on a panel, then you can no longer set the value of that dp past one digit after the decimal point. Further, you can not display the dp value in two different places with different amounts of digits.
Is the above statement your understanding? It is entirely possible that I am doing something wrong.
Is the above statement your understanding? It is entirely possible that I am doing something wrong.
Re: Setting significant digits of floating point
Hello,
if you want to set the value with more digits you have to use an own textfield where the format-settings defined at the dp-element are not applied. At the object you have to the define the script on your own. If the wizard is used the format is checked and the value cannot be set with more digits.
Best Regards
Leopold Knipp
Senior Support Specialist
if you want to set the value with more digits you have to use an own textfield where the format-settings defined at the dp-element are not applied. At the object you have to the define the script on your own. If the wizard is used the format is checked and the value cannot be set with more digits.
Best Regards
Leopold Knipp
Senior Support Specialist