- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-22 11:08 PM
Difference in decimal places between formatted value and value
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?
- Labels:
-
ViewX
Authentication Failed.
- Authentication Ticket Mismatched, failed authentication.
Link copied. Please paste this link to share this article on your social media post.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
Andrew Scott, R&D Principal Technologist, AVEVA
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
Andrew Scott, R&D Principal Technologist, AVEVA
Link copied. Please paste this link to share this article on your social media post.

