EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  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  Index 1994  1995  <19961997  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 
<== Date ==> <== Thread ==>

Subject: Converting a float to an integer in a calculation record.
From: [email protected] (Janet B. Anderson)
To: [email protected]
Date: Mon, 13 May 1996 10:38:10 -0500
The calc record already supports NINT(), but NINT does not appear in
the calc record's list of algebraic operators in the Record Reference
Manual. Thanks for pointing out this documentation problem.

> I have an EPICS database in which all the quantities I am dealing with are
> integers. As the output of the "calculation" record is floating point, I
> need to convert the result of one of my calculations to the nearest
> integer. At the moment I am doing the conversion by channeling the output
> through a "longout" record, but it would be tidier if I could convert a
> floating point value to the nearest integer within the "calculation"
> record itself. Does anyone know a way of doing this? Will a future version
> of the "calculation" record support the "INT" and "NINT" functions? 


Janet


Navigate by Date:
Prev: Re: bug in sequencer Rozelle Wright
Next: Re: Converting a float to an integer in a calculation record. Tim Mooney
Index: 1994  1995  <19961997  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: Converting a float to an integer in a calculation record. Steven M Beard
Next: Re: Converting a float to an integer in a calculation record. Tim Mooney
Index: 1994  1995  <19961997  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·