EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-22 11:08 PM
Hi everyone, querying CDBHistoric data table I see that there is a difference in the number of decimal places between the formatted value (second column) and the value (third column) and the value as real (fourth column). How can I increase the number of decimal places for the value (and value as real) too?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-27 02:27 AM
Perhaps its the default for 'unformatted' numbers in the list display.
If you want the number without the units, use the SQL:
FORMATVALUE( 12.5 USING '#0.0000' ) returns '12.5000'
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-27 09:29 AM
Floating point numbers are formatted to six significant digits in lists.
This comes from the default format for floating points numbers in the CRT printf function. For details see Format specification syntax: printf and wprintf functions. Lists use the g type field with the default width and precision.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-27 02:27 AM
Perhaps its the default for 'unformatted' numbers in the list display.
If you want the number without the units, use the SQL:
FORMATVALUE( 12.5 USING '#0.0000' ) returns '12.5000'
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-27 09:29 AM
Floating point numbers are formatted to six significant digits in lists.
This comes from the default format for floating points numbers in the CRT printf function. For details see Format specification syntax: printf and wprintf functions. Lists use the g type field with the default width and precision.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.