Marty,
I'm pleased that you will change the format in the
Double_To_String routine. May I suggest a further
refinement. Make the "sprintf":
sprintf( pstr_value, "%*.*e", prec+7, prec, flt_value );
where "prec" will be the desired precision from the
record. The field width is always 7 more than "prec".
Andy
==========================================================================
Andy Foster
Royal Greenwich Observatory Tel: 44 (0)1223 374899 (direct)
Madingley Road E-mail: [email protected]
Cambridge
CB3 0HA
UK
- Navigate by Date:
- Prev:
Re: AO rec flaw Jeff Hill
- Next:
capfast onpage / same page connector Kevin Tsubota
- 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
- Navigate by Thread:
- Prev:
Re: Internal type conversion in Epics Marty Kraimer
- Next:
[no subject] Andy Foster
- 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
|