1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: CSS/Trend and small numbers |
From: | Maren Purves <[email protected]> |
To: | "Kasemir, Kay" <[email protected]> |
Cc: | EPICS Tech Talk <[email protected]> |
Date: | Wed, 01 Dec 2010 10:58:03 -1000 |
Hi:
On 12/1/10 11:58 , "John Dobbins" <[email protected]> wrote:If I use the Data Browser -> Inspect Samples feature I see that for small values (e.g. 1e-9) the value is displayed as 0.00.. because it's using the precision that was sent with the data when it has to format the number as text.
EPICS/Channel Access just provides a precision number, no hint like 'use decimal' or 'use exponential notation', so it's always decimal.
The same issue applies to annotations added to plots.Right.
Is there a way to fix this?I don't know. Maybe somebody has a good idea?
We still use edd/dm at UKIRT and we have one channel that currently displays 4.60e-6 (millibar pressure). As we know that we always want to display the vacuum in exponential notation. It's a 'text update' and it has 'format="decimal- exponential notation"' - using single quotes here to distinguish from the double quotes in the format.
HTH, Maren