01-29-2021 05:10 PM
Hi all,
I am converting timestamp strings to a doubles and places them in an array of doubles. However, the array of doubles only shows the whole number. How do I configure the it to show 4 digits after the decimal points?
Solved! Go to Solution.
01-29-2021 09:16 PM
Put a simple Dbl Control on the desktop, and put the number 123456.789 inside it. What do you see? [I see "123457" -- you should see the same]. See if you can figure out why it is doing this. Hint -- right-click the control you just put down, click "Properties", and examine its properties. See if anything "suggests itself" to you. If it isn't obvious after doing this, try putting the number 1.23456789 in the Control, and try again ...]
Bob Schor
01-29-2021 10:58 PM
Hi Bob,
The Dbl Control property has a "Display Format" tab where I can set the number of digits after the decimal points. I could not find a similar feature by right click on the array and select "Property".
Thank you
01-30-2021 07:27 AM
Don't click on the array, but click on the Dbl inside the array.
Bob Schor