Based on previous discussions with support and this old topic I understand there are many projects in motion regarding the treatment of decimals throughout the data pipeline.
Is it possible to get updates on these projects?
I’m running into issues related to the precision of numbers being displayed for my Quality team to verify compliance of completed parts before they are released for shipment. Operators are keying in numbers down to 4 decimals and in most cases Tulip is displaying the value rounded to 3 decimals. In some cases, the number I’m entering could be less than 0.0005 and thus rounds to 0. I could change the units from inches to mils to reduce the impact of this rounding however the customer drawings and specs that we work off of are in inches so we look to match it.
In this topic it was suggested to us TOTEXT() to force the correct number of decimals however that work around would lead to additional work to convert back to numbers before and math or validations can occur.
I did a simple test and observed the following:
Number type variable input widget within an app can go many decimals deep (I tested to 9 decimals)
A trigger in the app can save the value in a table field as-is (not rounded or trimmed)
Viewing the record in an Interactive Table in an app the value shows rounded to 3 decimals
When the table record is loaded in a placeholder within the app the value (as shown in a VARIABLE widget) is displayed as-is (not rounded or trimmed)
Viewing the value in the table via admin interface shows it as rounded to 3 decimals
Viewing the value in the table via the Edit Record popup in the admin interface shows the value as-is (not rounded or trimmed)
The value appears in the Completion Record as rounded to 3 decimals
The value appears in the Record History Widget as rounded to 3 decimals
The value appears in an Analysis (of the completion record) as rounded to 2 decimals …. not a typo it appears to be rounded to 2 decimals
Retrieving the value via GET RECORDS API returns the value as-is (not rounded or trimmed)